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
F137943590: D24238.id70057.diff
Thu, Nov 27, 12:50 PM
F137892207: D24238.id70076.diff
Wed, Nov 26, 11:02 PM
Unknown Object (File)
Tue, Nov 25, 12:13 PM
Unknown Object (File)
Sun, Nov 23, 1:42 PM
Unknown Object (File)
Sun, Nov 16, 7:34 PM
Unknown Object (File)
Sat, Nov 15, 1:45 AM
Unknown Object (File)
Fri, Nov 14, 5:05 AM
Unknown Object (File)
Fri, Nov 14, 2:01 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable