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, May 17, 3:37 AM
Unknown Object (File)
Mon, May 13, 9:19 AM
Unknown Object (File)
Mon, May 13, 7:23 AM
Unknown Object (File)
Mon, May 13, 7:22 AM
Unknown Object (File)
Mon, May 13, 6:04 AM
Unknown Object (File)
Sun, May 12, 8:03 PM
Unknown Object (File)
Mar 7 2024, 8:31 PM
Unknown Object (File)
Feb 10 2024, 8:51 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