Skip to contentSkip to conversation

free_bootmem() == free_early() with CONFIG_NO_BOOTMEM

DISCUSSION Jan Beulich 1 participant 1 message Mar 26, 2010

lore
Share & tools
lore
#0 lore raw

Why is free_bootmem() not calling free_early_partial() instead? I don't think the (legacy?) bootmem allocator had a restriction on not allowing partial blocks to be returned, and it certainly didn't fail on fragments of blocks previously reserved with reserve_early() being freed.

Seems like a regression to me, but I'd like to understand first if there is any deeper reason behind the chosen solution.

Thanks, Jan