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)
Nov 22 2024, 2:34 PM
Unknown Object (File)
Nov 17 2024, 8:57 AM
Unknown Object (File)
Nov 16 2024, 12:14 AM
Unknown Object (File)
Oct 10 2024, 6:55 AM
Unknown Object (File)
Sep 27 2024, 6:16 AM
Unknown Object (File)
Sep 9 2024, 1:53 AM
Unknown Object (File)
Sep 8 2024, 8:26 PM
Unknown Object (File)
Sep 7 2024, 7:23 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