First  |  Prev |  Next  |  Last
Pages: 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522
[PATCH 22/49] 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: ... 19 Jul 2010 20:10
[PATCH 33/49] memblock: Add memblock_find_in_range()
it is a wrapper for memblock_find_base make it more easy for x86 to use memblock. ( rebase ) x86 early_res is using find/reserve pattern instead of alloc. keep it in weak version, so later We can use x86 own version if needed. also We need it in mm/memblock.c, so one caller mm/page_alloc.c could get compiled ... 19 Jul 2010 20:10
[PATCH 49/49] x86: remove old bootmem code
Requested by Ingo, Thomas and HPA. it mean 2.6.34 and 2.6.35 have them bootmem and nobootmem for x86. and later for x86 will only have nobootmem Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/Kconfig | 10 +------- arch/x86/kernel/setup.c | 4 --- arch/x86/mm/init_32.c | 56 ----... 19 Jul 2010 20:10
[PATCH 16/49] memblock: Make memblock_find_region() out of memblock_alloc_region()
From: Benjamin Herrenschmidt <benh(a)kernel.crashing.org> This function will be used to locate a free area to put the new memblock arrays when attempting to resize them. memblock_alloc_region() is gone, the two callsites now call memblock_add_region(). Signed-off-by: Benjamin Herrenschmidt <benh(a)kernel.crashing.o... 19 Jul 2010 20:10
[PATCH 47/49] x86: Remove not used early_res code
and some functions in e820.c that are not used anymore Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/include/asm/e820.h | 14 - arch/x86/kernel/e820.c | 52 ---- include/linux/early_res.h | 23 -- kernel/Makefile | 1 - kernel/early_res.c | 590 -------------... 19 Jul 2010 20:10
[PATCH 45/49] x86: Use memblock to replace early_res
1. replace find_e820_area with memblock_find_in_range 2. replace reserve_early with memblock_x86_reserve_range 3. replace free_early with memblock_x86_free_range. 4. NO_BOOTMEM will switch to use memblock too. 5. use _e820, _early wrap in the patch, in following patch, will replace them all 6. because memblock... 19 Jul 2010 20:10
[PATCH 21/49] 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... 19 Jul 2010 20:10
[PATCH 27/49] 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... 19 Jul 2010 20:10
[PATCH 38/49] x86, memblock: Add get_free_all_memory_range()
get_free_all_memory_range is for CONFIG_NO_BOOTMEM=y, and will be called by free_all_memory_core_early(). It will use early_node_map aka active ranges subtract memblock.reserved to get all free range, and those ranges will convert to slab pages. -v4: increase range size Signed-off-by: Yinghai Lu <yinghai(a)ker... 19 Jul 2010 20:10
[PATCH 18/49] 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(-) ... 19 Jul 2010 20:10
First  |  Prev |  Next  |  Last
Pages: 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522