mirror of https://git.suyu.dev/suyu/suyu
kernel/vm_manager: Reserve memory ahead of time for slow path in MergeAdjacentVMA
Avoids potentially expensive (depending on the size of the memory block) allocations by reserving the necessary memory before performing both insertions. This avoids scenarios where the second insert may cause a reallocation to occur.merge-requests/60/head
parent
a43ee8d752
commit
56c6f767ae
Loading…
Reference in New Issue