On Mon, Jun 1, 2026 at 9:30 PM Michal Clapinski <[email protected]> wrote: > > This allows us to skip relocations (and maybe checksum calculation > in the future). > > kho_scratch is marked as MIGRATE_CMA but isn't actually given to the > CMA, so it should only contain movable allocations, therefore this > should always succeed.
Now that I think about it, this is only true on the primary boot. On subsequent boots, kho scratch will contain memblock allocations forever. I should have tested it more than once. I have no idea how probable it is that I will find enough movable/free memory in kho scratch for this to ever succeed. I'll give it more thought.
