Page MenuHomeFreeBSD

powerpc/booke: Add pte_find_next() to find the next in-use PTE
ClosedPublic

Authored by jhibbits on Mar 31 2020, 2:39 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Mar 31, 2:17 PM
Unknown Object (File)
Sat, Mar 8, 6:35 AM
Unknown Object (File)
Mar 5 2025, 5:00 AM
Unknown Object (File)
Mar 4 2025, 6:07 PM
Unknown Object (File)
Mar 2 2025, 4:09 AM
Unknown Object (File)
Mar 2 2025, 4:08 AM
Unknown Object (File)
Mar 2 2025, 3:01 AM
Unknown Object (File)
Mar 1 2025, 9:42 PM
Subscribers

Details

Summary

Iterating over VM_MIN_ADDRESS->VM_MAXUSER_ADDRESS can take a very long
time iterating one page at a time (2**(log_2(SIZE)-12) operations),
yielding possibly several days or even weeks on 64-bit Book-E, even for
a largely empty, which can happen when swapping out a process by
vmdaemon. Speed this up by instead finding the next PTE at or equal to
the given VA.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 30221
Build 28007: arc lint + arc unit