Page MenuHomeFreeBSD

Three enhancements to arm64's pmap_protect()
ClosedPublic

Authored by alc on Jun 15 2019, 8:42 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jun 2, 6:54 PM
Unknown Object (File)
Sat, May 31, 10:52 PM
Unknown Object (File)
Mon, May 26, 3:32 AM
Unknown Object (File)
Wed, May 7, 3:07 AM
Unknown Object (File)
Apr 15 2025, 2:27 AM
Unknown Object (File)
Apr 14 2025, 8:11 AM
Unknown Object (File)
Apr 14 2025, 5:16 AM
Unknown Object (File)
Apr 13 2025, 11:45 PM
Subscribers

Details

Summary

Implement protection changes on superpage mappings. Previously, a superpage mapping was unconditionally demoted by pmap_protect(), even if the protection change applied to the entire superpage mapping.

Precompute the bit mask describing the protection changes rather than recomputing it for every page table entry that is changed.

Skip page table entries that already have the requested protection changes in place.

Diff Detail

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