Page MenuHomeFreeBSD

Eliminate thread pinning from broadcast TLB invalidation functions on arm64
ClosedPublic

Authored by alc on Nov 22 2019, 7:09 PM.
Tags
None
Referenced Files
F111233231: D22502.diff
Sat, Mar 1, 5:10 AM
Unknown Object (File)
Sat, Feb 22, 9:47 AM
Unknown Object (File)
Thu, Feb 13, 5:21 AM
Unknown Object (File)
Thu, Feb 6, 3:02 AM
Unknown Object (File)
Thu, Jan 30, 8:13 PM
Unknown Object (File)
Dec 12 2024, 7:45 PM
Unknown Object (File)
Nov 22 2024, 5:56 AM
Unknown Object (File)
Oct 22 2024, 9:43 PM
Subscribers

Details

Summary

On arm64, I see no reason why we need to pin the underlying thread in pmap_invalidate_{all,page,range}(). These functions are using an instruction that broadcasts the invalidation to other processors, so even if a thread migrates in the midst of one of these functions every processor will still perform the invalidations.

Test Plan

I've been running with this change in place for weeks.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped