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, Oct 13, 9:55 AM
Unknown Object (File)
Mon, Oct 13, 7:19 AM
Unknown Object (File)
Fri, Oct 10, 10:26 PM
Unknown Object (File)
Sep 5 2025, 3:40 PM
Unknown Object (File)
Aug 26 2025, 4:47 AM
Unknown Object (File)
Aug 26 2025, 4:09 AM
Unknown Object (File)
Aug 26 2025, 1:48 AM
Unknown Object (File)
Aug 16 2025, 8:58 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.