[RFC][patch 0/5] Bootmem fixes

From: Johannes Weiner
Date: Wed Apr 16 2008 - 08:48:09 EST


Hi,

here are a bunch of fixes for the bootmem allocator. These are tested
on boring x86_32 UMA hardware, but 3 patches only show their effects
on multi-node systems, so please review and test.

Only the first two patches are real code changes, the others are
cleanups.

`Node-setup agnostic free_bootmem()' assumes that all bootmem
descriptors describe contiguous regions and bdata_list is in ascending
order. Yinghai was unsure about this fact, Ingo could you ACK/NAK
this?

Hannes

arch/alpha/mm/numa.c | 8 ++--
arch/arm/mm/discontig.c | 34 +++++++--------
arch/ia64/mm/discontig.c | 11 ++---
arch/m32r/mm/discontig.c | 4 +-
arch/m68k/mm/init.c | 4 +-
arch/mips/sgi-ip27/ip27-memory.c | 3 +-
arch/parisc/mm/init.c | 3 +-
arch/powerpc/mm/numa.c | 3 +-
arch/sh/mm/numa.c | 5 +-
arch/x86/mm/discontig_32.c | 3 +-
arch/x86/mm/numa_64.c | 4 +-
include/linux/bootmem.h | 7 +--
mm/bootmem.c | 82 ++++++++++++++++++++++----------------
mm/page_alloc.c | 4 +-
14 files changed, 84 insertions(+), 91 deletions(-)

--

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/