[PATCH 03/37] lmb: Print new doubled array location info
so will have more idea where it is, use lmb_debug to controll it Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- lib/lmb.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/lib/lmb.c b/lib/lmb.c index b6725d6..2bdbe87 100644 --- a/lib/lmb.c +++ b/lib/lmb.c @@ -185,8 +185,6 @... 14 May 2010 16:08
[PATCH 31/37] x86: Change e820_saved to __initdata
for 2.6.34 Add save_e820_map() and change e820_saved to static also make it to be __initdata to get some bytes memory back. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/include/asm/e820.h | 2 +- arch/x86/kernel/e820.c | 9 +++++++-- arch/x86/kernel/setup.c | 2 +- 3 files ... 14 May 2010 16:08
[PATCH 27/37] x86: Have nobootmem version setup_bootmem_allocator()
We can reduce #ifdef number from 3 to one in init_32.c Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/mm/init_32.c | 15 ++++++++++----- 1 files changed, 10 insertions(+), 5 deletions(-) diff --git a/arch/x86/mm/init_32.c b/arch/x86/mm/init_32.c index c01c711..dfdd035 100644 --- a/arch/x86/mm... 14 May 2010 16:08
[PATCH 35/37] x86: Change e820_any_mapped() to __init
We don't need to expose e820_any_mapped() anymore Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/e820.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index eb556d0..c2e18f9 100644 --- a/arch/x86/kernel/e820.c ... 14 May 2010 16:08
[PATCH 02/37] lmb: Prepare x86 to use lmb to replace early_res
1. expose lmb_debug 2. expose lmb_reserved_init_regions -v2: drop lmb_add_region() and LMB_ERROR export -v3: seperate wrong return of lmb_fin_base to another patch Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/lmb.h | 2 ++ lib/lmb.c | 4 ++-- 2 files changed, 4 insertion... 14 May 2010 16:08
[PATCH 04/37] lmb: Export LMB_ERROR again
will used by x86 lmb_find_area_node and nobootmem replacement Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/lmb.h | 1 + lib/lmb.c | 2 -- 2 files changed, 1 insertions(+), 2 deletions(-) diff --git a/include/linux/lmb.h b/include/linux/lmb.h index d88c92d..d959d23 100644 ... 14 May 2010 16:08
[PATCH 23/37] x86, lmb: Use lmb_memory_size()/lmb_free_memory_size() to get correct dma_reserve
lmb_memory_size() will return memory size in lmb.memory.region. lmb_free_memory_size() will return free memory size in lmb.memory.region. So We can get exact reseved size in specified range. Set the size right after initmem_init(), because later bootmem API will get area above 16M. (except some fallback). La... 14 May 2010 16:08
[PATCH 36/37] x86: Use walk_system_ream_range() instead of referring e820.map directly for tboot
So we can make e820 to be __initdata Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/tboot.c | 22 +++++++++------------- 1 files changed, 9 insertions(+), 13 deletions(-) diff --git a/arch/x86/kernel/tboot.c b/arch/x86/kernel/tboot.c index c2f1b26..20b9531 100644 --- a/arch/x86/kernel/... 14 May 2010 16:07
[PATCH 11/37] x86,lmb: Add lmb_reserve_area/lmb_free_area
they are wrappers for core versions. they are taking start/end/name instead of base/size. will make x86 conversion more easy could add more debug print out -v2: change get_max_mapped() to lmb.default_alloc_limit according to Michael Ellerman and Ben change to lmb_reserve_area and lmb_free_area acco... 14 May 2010 16:07
[PATCH 32/37] x86: Align e820 ram range to page
for 2.6.34 To workaround wrong BIOS memory map. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/kernel/e820.c | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 44 insertions(+), 0 deletions(-) diff --git a/arch/x86/kernel/e820.c b/arch/x86/kernel/e820.c index bae44dd..b2753... 14 May 2010 16:07