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)
Sun, Jul 27, 11:14 PM
Unknown Object (File)
Jun 25 2025, 5:15 AM
Unknown Object (File)
Jun 24 2025, 1:26 PM
Unknown Object (File)
Jun 23 2025, 2:36 PM
Unknown Object (File)
Jun 15 2025, 9:36 PM
Unknown Object (File)
Jun 15 2025, 5:11 AM
Unknown Object (File)
Jun 14 2025, 8:00 AM
Unknown Object (File)
Jun 14 2025, 2:30 AM
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