Page MenuHomeFreeBSD

arm64: remove an unneeded test from pmap_clear_modify()
ClosedPublic

Authored by alc on Jun 23 2021, 5:33 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 7, 10:26 AM
Unknown Object (File)
Sat, Nov 1, 5:22 PM
Unknown Object (File)
Wed, Oct 15, 8:53 PM
Unknown Object (File)
Mon, Oct 13, 6:45 AM
Unknown Object (File)
Sep 29 2025, 12:37 AM
Unknown Object (File)
Sep 18 2025, 11:22 AM
Unknown Object (File)
Sep 18 2025, 1:59 AM
Unknown Object (File)
Sep 5 2025, 8:02 AM
Subscribers

Details

Summary

The page table entry for a 4KB page mapping must be valid if a PV entry for the mapping exists, so there is no point in testing each page table entry's validity when iterating over a PV list.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable