This is an effort to simplify arch mm initialization code by killing free_all_bootmem_node(). It's applied on top of http://marc.info/?l=linux-mm&m=136983589203930&w=2 You may access the patch series at: git://github.com/jiangliu/linux.git mem_init_v6 Jiang Liu (13): mm: introduce accessor function set_max_mapnr() mm/AVR32: prepare for killing free_all_bootmem_node() mm/IA64: prepare for killing free_all_bootmem_node() mm/m32r: prepare for killing free_all_bootmem_node() mm/m68k: prepare for killing free_all_bootmem_node() mm/metag: prepare for killing free_all_bootmem_node() mm/MIPS: prepare for killing free_all_bootmem_node() mm/PARISC: prepare for killing free_all_bootmem_node() mm/PPC: prepare for killing free_all_bootmem_node() mm/SH: prepare for killing free_all_bootmem_node() mm: kill free_all_bootmem_node() mm/alpha: unify mem_init() for both UMA and NUMA architectures mm/m68k: fix build warning of unused variable arch/alpha/mm/init.c | 7 ++----- arch/alpha/mm/numa.c | 10 ---------- arch/avr32/mm/init.c | 21 +++++---------------- arch/ia64/mm/init.c | 9 ++------- arch/m32r/mm/init.c | 17 ++++------------- arch/m68k/mm/init.c | 15 ++++++++------- arch/metag/mm/init.c | 14 ++------------ arch/mips/sgi-ip27/ip27-memory.c | 12 +----------- arch/parisc/mm/init.c | 12 +----------- arch/powerpc/mm/mem.c | 16 +--------------- arch/sh/mm/init.c | 16 ++++------------ include/linux/bootmem.h | 1 - include/linux/mm.h | 9 ++++++++- mm/bootmem.c | 18 ------------------ 14 files changed, 38 insertions(+), 139 deletions(-) -- 1.8.1.2 -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>