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
F161505158: D30875.id.diff
Sat, Jul 4, 9:17 AM
Unknown Object (File)
Fri, Jul 3, 5:09 AM
Unknown Object (File)
Fri, Jul 3, 4:12 AM
Unknown Object (File)
Thu, Jul 2, 7:18 PM
Unknown Object (File)
Sun, Jun 28, 5:52 PM
Unknown Object (File)
Sat, Jun 27, 10:29 PM
Unknown Object (File)
Wed, Jun 24, 1:41 AM
Unknown Object (File)
Wed, Jun 24, 12:27 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