Skip to content

use lmb with x86

Yinghai Lu linux-arch lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest24 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/24x86: Make smp_locks end with page alignmentarch/x86/kernel/vmlinux.lds.S+1 -11 reply
2/24x86: Make sure free_init_pages() free pages in boundaryarch/x86/kernel/head32.c arch/x86/kernel/head64.c arch/x86/kernel/setup.c +1 more+48 -1811 replies
3/24x86: Do not free zero sized per cpu areaskernel/early_res.c+6 -05 replies
4/24lmb: Move lmb.c to mm/lib/Makefile mm/Makefile mm/lmb.c+2 -20 replies
5/24lmb: Seperate region array from lmb_region structinclude/linux/lmb.h mm/lmb.c+10 -20 replies
6/24lmb: Add find_lmb_area()include/linux/lmb.h mm/lmb.c+85 -00 replies
7/24lmb: Add reserve_lmb/free_lmbinclude/linux/lmb.h mm/lmb.c+93 -00 replies
8/24lmb: Add find_lmb_area_size()include/linux/lmb.h mm/lmb.c+81 -00 replies
9/24bootmem, x86: Add weak version of reserve_bootmem_genericarch/x86/mm/init_32.c arch/x86/mm/init_64.c mm/bootmem.c+8 -240 replies
10/24lmb: Add lmb_to_bootmem()include/linux/lmb.h mm/lmb.c+34 -00 replies
11/24lmb: Add get_free_all_memory_range()include/linux/lmb.h mm/lmb.c+87 -10 replies
12/24lmb: Add lmb_register_active_regions() and lmb_hole_size()include/linux/lmb.h mm/lmb.c+72 -00 replies
13/24lmb: Prepare to include linux/lmb.h in core fileinclude/linux/lmb.h+3 -00 replies
14/24lmb: Add find_memory_core_early()include/linux/mm.h mm/page_alloc.c+31 -00 replies
15/24lmb: Add find_lmb_area_node()include/linux/lmb.h mm/lmb.c+16 -00 replies
16/24lmb: Add lmb_free_memory_size()include/linux/lmb.h mm/lmb.c+52 -00 replies
17/24lmb: Add lmb_memory_size()include/linux/lmb.h mm/lmb.c+18 -10 replies
18/24lmb: Add reserve_lmb_overlap_ok()include/linux/lmb.h mm/lmb.c+26 -20 replies
19/24x86: Add sanitize_e820_map()arch/x86/include/asm/e820.h arch/x86/kernel/e820.c arch/x86/kernel/efi.c +2 more+27 -200 replies
20/24x86: Use lmb to replace early_resarch/x86/Kconfig arch/x86/include/asm/e820.h arch/x86/include/asm/lmb.h +13 more+97 -1740 replies
21/24x86: Replace e820_/_early string with lmb_arch/x86/include/asm/efi.h arch/x86/kernel/acpi/sleep.c arch/x86/kernel/apic/numaq_32.c +17 more+88 -750 replies
22/24x86: Remove not used early_res codearch/x86/include/asm/e820.h arch/x86/kernel/e820.c include/linux/early_res.h +1 more+0 -6620 replies
23/24x86, lmb: Use lmb_memory_size()/lmb_free_memory_size() to get correct dma_reservearch/x86/include/asm/e820.h arch/x86/kernel/e820.c arch/x86/kernel/setup.c +1 more+20 -70 replies
24/24x86: Align e820 ram range to pagearch/x86/kernel/e820.c+44 -00 replies

Reviews trailers per patch

2 of 24 patches have a Reviewed-by or Acked-by.

PatchKonrad Rzeszutek WilkJoel BeckerStanislaw GruszkaJohannes Weiner
1/24
2/24T-b T-b T-b T-b A-b A-b A-b A-b
3/24T-b T-b T-b T-b T-b T-b A-b A-b
4/24
5/24
6/24
7/24
8/24
9/24
10/24
11/24
12/24
13/24
14/24
15/24
16/24
17/24
18/24
19/24
20/24
21/24
22/24
23/24
24/24

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH -v8 00/24] use lmb with x86

the new lmb could be used to early_res in x86.

Suggested by: David, Ben, and Thomas

First three patches 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.

Please check them.

Thanks

Yinghai