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)
Sat, Apr 20, 5:43 AM
Unknown Object (File)
Thu, Mar 28, 10:34 PM
Unknown Object (File)
Jan 3 2024, 3:11 PM
Unknown Object (File)
Dec 20 2023, 2:09 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