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)
Sat, Feb 14, 6:27 PM
Unknown Object (File)
Jan 9 2026, 11:23 PM
Unknown Object (File)
Jan 5 2026, 11:19 PM
Unknown Object (File)
Dec 30 2025, 3:17 AM
Unknown Object (File)
Dec 14 2025, 11:23 AM
Unknown Object (File)
Dec 14 2025, 10:41 AM
Unknown Object (File)
Dec 13 2025, 2:22 AM
Unknown Object (File)
Dec 8 2025, 10:16 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