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)
Sun, Jun 7, 6:23 PM
Unknown Object (File)
Sat, May 30, 4:25 PM
Unknown Object (File)
Sun, May 17, 10:47 PM
Unknown Object (File)
Sun, May 17, 10:47 PM
Unknown Object (File)
Sun, May 17, 10:33 PM
Unknown Object (File)
May 3 2026, 5:50 AM
Unknown Object (File)
Apr 28 2026, 1:04 AM
Unknown Object (File)
Apr 27 2026, 11:01 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