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)
Jan 6 2024, 2:01 AM
Unknown Object (File)
Dec 29 2023, 2:46 PM
Unknown Object (File)
Dec 20 2023, 4:47 AM
Unknown Object (File)
Dec 17 2023, 4:44 AM
Unknown Object (File)
Dec 8 2023, 10:06 PM
Unknown Object (File)
Sep 27 2023, 10:11 PM
Unknown Object (File)
Sep 15 2023, 2:40 PM
Unknown Object (File)
Aug 30 2023, 10:23 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