The patch titled bootmem: node-setup agnostic free_bootmem() has been removed from the -mm tree. Its filename was bootmem-node-setup-agnostic-free_bootmem.patch This patch was dropped because it was nacked The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: bootmem: node-setup agnostic free_bootmem() From: Johannes Weiner <hannes@xxxxxxxxxxxx> Make free_bootmem() look up the node holding the specified address range which lets it work transparently on single-node and multi-node configurations. Signed-off-by: Johannes Weiner <hannes@xxxxxxxxxxxx> Cc: Yinghai Lu <yhlu.kernel@xxxxxxxxx> Acked-by: Andi Kleen <ak@xxxxxxx> Cc: Yasunori Goto <y-goto@xxxxxxxxxxxxxx> Cc: KAMEZAWA Hiroyuki <kamezawa.hiroyu@xxxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxx> Cc: Christoph Lameter <clameter@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- mm/bootmem.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff -puN mm/bootmem.c~bootmem-node-setup-agnostic-free_bootmem mm/bootmem.c --- a/mm/bootmem.c~bootmem-node-setup-agnostic-free_bootmem +++ a/mm/bootmem.c @@ -421,7 +421,15 @@ int __init reserve_bootmem(unsigned long void __init free_bootmem(unsigned long addr, unsigned long size) { - free_bootmem_core(NODE_DATA(0)->bdata, addr, size); + bootmem_data_t *bdata; + + list_for_each_entry (bdata, &bdata_list, list) { + if (addr < bdata->node_boot_start) + continue; + free_bootmem_core(bdata, addr, size); + return; + } + BUG(); } unsigned long __init free_all_bootmem(void) _ Patches currently in -mm which might be from hannes@xxxxxxxxxxxx are bootmem-node-setup-agnostic-free_bootmem.patch bootmem-node-setup-agnostic-free_bootmem-checkpatch-fixes.patch git-x86.patch arm-remove-redundant-display-of-free-swap-space-in-show_mem.patch git-powerpc.patch git-ia64.patch git-mips.patch parisc-remove-redundant-display-of-free-swap-space-in-show_mem.patch git-s390.patch git-xtensa.patch mm-remove-unused-max_nodes_shift.patch m68k-remove-redundant-display-of-free-swap-space-in-show_mem.patch cris-remove-redundant-display-of-free-swap-space-in-show_mem.patch add-warn_on_secs-macro-simplification.patch add-warn_on_secs-macro-simplification-fix.patch add-warn_on_secs-macro-simplification-fix-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html