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
Unknown Object (File)
Feb 18 2024, 9:51 AM
Unknown Object (File)
Dec 20 2023, 5:40 AM
Unknown Object (File)
Dec 5 2023, 10:58 PM
Unknown Object (File)
Dec 5 2023, 10:38 PM
Unknown Object (File)
Nov 24 2023, 2:20 AM
Unknown Object (File)
Nov 21 2023, 5:10 PM
Unknown Object (File)
Nov 18 2023, 7:23 PM
Unknown Object (File)
Nov 16 2023, 3:58 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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable