mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-10-22 08:33:12 -05:00
MapUnmappedPages probed every 4 KiB page of the protected range with msync before mapping it. Under an unlimited stack limit the main thread's reported stack reaches down to the heap, tens of TiB, so a guest protect over the whole stack ran for hours. Mapped and unmapped runs are now found by halving the remaining range, and the unmapped ones are mapped without reserving swap, as the stack itself grows.