successor trampoline shouldn't touch target one

This commit is contained in:
2025-12-02 17:46:28 +01:00
parent d3788d132d
commit 3ee245ba5f

View File

@@ -426,6 +426,7 @@ fn attemptSuccessorEviction(
flicken.size(), flicken.size(),
); );
while (orig_pii.next(&patcher.address_allocator)) |orig_range| { while (orig_pii.next(&patcher.address_allocator)) |orig_range| {
if (succ_range.touches(orig_range)) continue;
try pages_made_writable.ensureUnusedCapacity(arena, touchedPageCount(orig_range)); try pages_made_writable.ensureUnusedCapacity(arena, touchedPageCount(orig_range));
patcher.ensureRangeWritable( patcher.ensureRangeWritable(
orig_range, orig_range,