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, May 6, 9:42 PM
Unknown Object (File)
Sat, May 4, 1:36 AM
Unknown Object (File)
Sat, Apr 20, 5:43 AM
Unknown Object (File)
Mar 28 2024, 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

Lint
Lint Skipped
Unit
Tests Skipped