Page MenuHomeFreeBSD

Set PG_G global mapping bit on the trampoline mappings.
ClosedPublic

Authored by kib on Apr 12 2018, 8:17 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 29, 9:38 AM
Unknown Object (File)
Dec 13 2025, 9:32 AM
Unknown Object (File)
Dec 11 2025, 1:31 PM
Unknown Object (File)
Dec 3 2025, 9:34 PM
Unknown Object (File)
Nov 8 2025, 5:26 PM
Unknown Object (File)
Nov 5 2025, 12:16 PM
Unknown Object (File)
Nov 5 2025, 12:16 PM
Unknown Object (File)
Nov 5 2025, 12:15 PM
Subscribers

Details

Summary

They are better treated as global since they are valid in all address spaces, even for PTI. pmap_invalidate_range() must work on global mappings for pti since kernel_pmap invalidations are really same as for non-PTI.

Diff Detail

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

Event Timeline

This revision is now accepted and ready to land.Apr 13 2018, 4:51 AM

Tested with stress2 and a buildworld. No problems seen.

This revision was automatically updated to reflect the committed changes.