[PATCH 25/33] x86, lmb: turn off ARCH_LMB_FIND_AREA
32bit now can use generic __find_lmb_area now. So we can turn arch one off Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/Kconfig | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig index 1aa53ae..ce097ab 100644 --- a/arch/x86/Kconfig ++... 30 Mar 2010 22:57
[PATCH 13/33] lmb: Add lmb_find_area_node()
It can be used to find NODE_DATA for numa. Need to make sure early_node_map[] is filled before it is called, otherwise it will fallback to lmb_find_area(), with node range. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/lmb.h | 1 + mm/lmb.c | 15 +++++++++++++++ 2 files ch... 30 Mar 2010 22:57
[PATCH 10/33] lmb: Add lmb_register_active_regions() and lmb_hole_size()
lmb_register_active_regions() will be used to fill early_node_map, the result will be lmb.memory.region AND numa data lmb_hole_size will be used to find hole size on lmb.memory.region with specified range. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- include/linux/lmb.h | 4 +++ mm/lmb.c ... 30 Mar 2010 22:57
[PATCH 31/33] 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 be6e1e6..471784b 100644 --- a/arch/x86/kernel/e820.c ... 30 Mar 2010 22:57
[PATCH 02/33] lmb: Move lmb.c to mm/
lmb.c is memory related, so move it to mm/. It is suggested by Ingo Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- lib/Makefile | 2 -- mm/Makefile | 2 ++ {lib => mm}/lmb.c | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename {lib => mm}/lmb.c (100%) diff --git a/lib/Makef... 30 Mar 2010 22:57
[PATCH 33/33] x86: make e820 to be __initdata
Finally no users after init boot stage. We can free it to save some bytes. Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- arch/x86/include/asm/e820.h | 2 -- arch/x86/kernel/e820.c | 2 +- 2 files changed, 1 insertions(+), 3 deletions(-) diff --git a/arch/x86/include/asm/e820.h b/arch/x86/incl... 30 Mar 2010 22:57
[PATCH 28/33] x86: Align e820 ram range to page
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 e2a0b02..57c938a 100644 ---... 30 Mar 2010 22:57
[PATCH 32/33] 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 cc2c604..cf27d64 100644 --- a/arch/x86/kernel/... 30 Mar 2010 22:57
[PATCH -v11 00/33] use lmb with x86
the new lmb could be used to early_res in x86. Suggested by: David, Ben, and Thomas First one should go into 2.6.34. -v6: change sequence as requested by Thomas -v7: seperate them to more patches -v8: add boundary checking to make sure not free partial page. -v9: use lmb_debug to control print out of reserv... 30 Mar 2010 22:57
[PATCH 04/33] lmb: Seperate __lmb_find_base() from __lmb_alloc_base()
So We can construct one generic __find_lmb_area() later Signed-off-by: Yinghai Lu <yinghai(a)kernel.org> --- mm/lmb.c | 21 +++++++++++++++++---- 1 files changed, 17 insertions(+), 4 deletions(-) diff --git a/mm/lmb.c b/mm/lmb.c index 65b62dc..392d805 100644 --- a/mm/lmb.c +++ b/mm/lmb.c @@ -393,7 +393,7 ... 30 Mar 2010 22:57