First  |  Prev |  Next  |  Last
Pages: 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454
[PATCH 19/31] memblock: Add array resizing support
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> When one of the array gets full, we resize it. After much thinking and a few iterations of that code, I went back to on-demand resizing using the (new) internal memblock_find_base() function, which is pretty much what Yinghai initially proposed, though there... 22 Jul 2010 14:43
[PATCH 25/31] memblock: Add debugfs files to dump the arrays content
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 51 insertions(+), 0 deletions(-) diff --git a/mm/memblock.c b/mm/memblock.c index 424ca11..b5... 22 Jul 2010 14:43
[PATCH 24/31] memblock: Make memblock_alloc_try_nid() fallback to MEMBLOCK_ALLOC_ANYWHERE
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> memblock_alloc_nid() used to fallback to allocating anywhere by using memblock_alloc() as a fallback. However, some of my previous patches limit memblock_alloc() to the region covered by MEMBLOCK_ALLOC_ACCESSIBLE which is not quite what we want for memblo... 22 Jul 2010 14:43
[PATCH 01/31] memblock: Rename memblock_region to memblock_type and memblock_property to memblock_region
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- arch/microblaze/mm/init.c | 4 +- arch/powerpc/mm/hash_utils_64.c | 2 +- arch/powerpc/mm/mem.c | 26 +++--- arch/powerpc/platforms/emb... 22 Jul 2010 14:43
[PATCH 29/31] memblock: Prepare to include linux/memblock.h in core file
Need to add protection in linux/memblock.h, to prepare to include it in mm/page_alloc.c and mm/bootmem.c etc. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/memblock.h | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/include/linux/memblock.h b/include/linux/membloc... 22 Jul 2010 14:43
[PATCH 20/31] memblock: Add arch function to control coalescing of memblock memory regions
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Some archs such as ARM want to avoid coalescing accross things such as the lowmem/highmem boundary or similar. This provides the option to control it via an arch callback for which a weak default is provided which always allows coalescing. Signed-off-by: ... 22 Jul 2010 14:43
[PATCH 30/31] memblock: Add ARCH_DISCARD_MEMBLOCK to put memblock code to .init
So those memblock bits could be released after kernel is booted up. Arch code could define ARCH_DISCARD_MEMBLOCK in asm/memblock.h, __init_memblock will become __init, __initdata_memblock will becom __initdata x86 code will use that. if ARCH_DISCARD_MEMBLOCK is defined, debugfs is not used -v2: use ARCH_DI... 22 Jul 2010 14:43
[PATCH 13/31] memblock: Add debug markers at the end of the array
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> Since we allocate one more than needed, why not do a bit of sanity checking here to ensure we don't walk past the end of the array ? Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 11 +++++++++++ 1 files changed, ... 22 Jul 2010 14:43
[PATCH 16/31] memblock: Move memblock_init() to the bottom of the file
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> It's a real PITA to have to search for it in the middle Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> --- mm/memblock.c | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) ... 22 Jul 2010 14:43
[PATCH -v26 00/31] generic changes for memblock
New memblock could be used to replace early_res in x86. Suggested by: David, Ben, and Thomas -v25: update to mainline with kmemleak fix on nobootmem also rename lmb to memblock alread in mainline -v26: according to Linus and hpa, seperate the big patchset to small ones. This one is rebase of Ben's ch... 22 Jul 2010 14:43
First  |  Prev |  Next  |  Last
Pages: 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454