use lmb with x86
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest39 patches 22 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/39 | swiotlb: Use page alignment for early buffer allocationlib/ | +8 | 0 replies | |
| 2/39 | x86: Add sanitize_e820_map()arch/ arch/ arch/ +2 more | +27 | 0 replies | |
| 3/39 | x86: Align e820 ram range to pagearch/ | +44 | 0 replies | |
| 4/39 | lmb: Move lmb.c to mm/lib/ mm/ mm/ | +2 | 1 reply | |
| 5/39 | lmb: Seperate region array from lmb_region structinclude/ mm/ | +10 | 1 reply | |
| 6/39 | lmb: Seperate __lmb_find_base() from __lmb_alloc_base()mm/ | +17 | 2 replies | |
| 7/39 | lmb: Add lmb_find_area()include/ mm/ | +53 | 6 replies | |
| 8/39 | lmb: Add lmb_reserve_area/lmb_free_areainclude/ mm/ | +70 | 1 reply | |
| 9/39 | bootmem, x86: Add weak version of reserve_bootmem_genericarch/ arch/ mm/ | +8 | 0 replies | |
| 10/39 | lmb: Add lmb_to_bootmem()include/ mm/ | +34 | 0 replies | |
| 11/39 | lmb: Add get_free_all_memory_range()include/ mm/ | +87 | 0 replies | |
| 12/39 | lmb: Add lmb_register_active_regions() and lmb_hole_size()include/ mm/ | +72 | 0 replies | |
| 13/39 | lmb: Prepare to include linux/lmb.h in core fileinclude/ | +3 | 0 replies | |
| 14/39 | lmb: Add find_memory_core_early()include/ mm/ | +31 | 0 replies | |
| 15/39 | lmb: Add lmb_find_area_node()include/ mm/ | +16 | 2 replies | |
| 16/39 | lmb: Add lmb_free_memory_size()include/ mm/ | +52 | 0 replies | |
| 17/39 | lmb: Add lmb_memory_size()include/ mm/ | +18 | 0 replies | |
| 18/39 | lmb: Add lmb_reserve_area_overlap_ok()include/ mm/ | +26 | 4 replies | |
| 19/39 | lmb: Use lmb_debug to control debug message print outmm/ | +21 | 0 replies | |
| 20/39 | lmb: Add ARCH_DISCARD_LMB to put lmb code to .initinclude/ mm/ | +40 | 0 replies | |
| 21/39 | lmb: Add __free/__reserve/__clear_lmb_reserved_region_array()mm/ | +36 | 0 replies | |
| 22/39 | x86, lmb: Add lmb_find_area_size()arch/ arch/ | +90 | 0 replies | |
| 23/39 | x86, lmb: Add x86 version of __lmb_find_area()arch/ arch/ | +86 | 0 replies | |
| 24/39 | x86: Use lmb to replace early_resarch/ arch/ arch/ +13 more | +127 | 0 replies | |
| 25/39 | x86: Replace e820_/_early string with lmb_arch/ arch/ arch/ +17 more | +87 | 0 replies | |
| 26/39 | nobootmem: use lmb.default_alloc_limit in alloc_bootmem pathmm/ | +3 | 4 replies | |
| 27/39 | x86, lmb: turn off ARCH_LMB_FIND_AREAarch/ | +1 | 0 replies | |
| 28/39 | x86: Remove not used early_res codearch/ arch/ include/ +1 more | +0 | 0 replies | |
| 29/39 | x86, lmb: Use lmb_memory_size()/lmb_free_memory_size() to get correct dma_reservearch/ arch/ arch/ +1 more | +20 | 0 replies | |
| 30/39 | x86: put 64 bit numa node memmap above 16March/ arch/ | +3 | 0 replies | |
| 31/39 | x86: Use wake_system_ram_range() instead of e820_any_mapped() in agp patharch/ arch/ drivers/ | +60 | 0 replies | |
| 32/39 | x86: Add get_centaur_ram_top()arch/ arch/ arch/ +1 more | +69 | 0 replies | |
| 33/39 | x86: Change e820_any_mapped() to __initarch/ | +3 | 0 replies | |
| 34/39 | x86: Use walk_system_ream_range() instead of referring e820.map directly for tbootarch/ | +9 | 0 replies | |
| 35/39 | x86: make e820 to be __initdataarch/ arch/ | +1 | 0 replies | |
| 36/39 | bootmem: Add nobootmem.c to reduce the #ifdefmm/ mm/ mm/ | +397 | 0 replies | |
| 37/39 | mm: move contig_page_data define to bootmem.c/nobootmem.cmm/ mm/ mm/ | +12 | 0 replies | |
| 38/39 | lmb: move __alloc_memory_core_early() to nobootmem.cinclude/ mm/ mm/ | +21 | 0 replies | |
| 39/39 | x86: have nobootmem version setup_bootmem_allocator()arch/ | +10 | 0 replies |
Reviews trailers per patch
2 of 39 patches have a Reviewed-by or Acked-by.
| Patch | Benjamin Herrenschmidt |
|---|---|
| 1/39 | |
| 2/39 | |
| 3/39 | |
| 4/39 | A-b |
| 5/39 | A-b |
| 6/39 | |
| 7/39 | |
| 8/39 | |
| 9/39 | |
| 10/39 | |
| 11/39 | |
| 12/39 | |
| 13/39 | |
| 14/39 | |
| 15/39 | |
| 16/39 | |
| 17/39 | |
| 18/39 | |
| 19/39 | |
| 20/39 | |
| 21/39 | |
| 22/39 | |
| 23/39 | |
| 24/39 | |
| 25/39 | |
| 26/39 | |
| 27/39 | |
| 28/39 | |
| 29/39 | |
| 30/39 | |
| 31/39 | |
| 32/39 | |
| 33/39 | |
| 34/39 | |
| 35/39 | |
| 36/39 | |
| 37/39 | |
| 38/39 | |
| 39/39 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH -v12 00/39] use lmb with x86
the new lmb could be used to early_res in x86.
Suggested by: David, Ben, and Thomas
-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 reserve_lmb.
add e820 clean up, and e820 become __initdata
-v10:use lmb.rmo_size and ARCH_DISCARD_LMB according to Michael
change name to lmb_find_area/reserve_lmb_area/free_lmb_area,
according to Michael
update find_lmb_area to use __lmb_alloc_base according to ben
-v11:move find_lmb_area_size back to x86.
x86 has own find_lmb_area, and could be disabled by ARCH_LMB_FIND_AREA
because _lmb_find_base has different behavoir from x86's old one. one from high to high and one from low to high
need more test
tested for x86 32bit/64bit, numa/nonuma, nobootmem/bootmem.
-v12:refresh the series with current tip
seperate nobootmem.c, so could remove some #ifdef
still keep CONFIG_NO_BOOTMEM, in x86 .c, and could use the as tags so other lmb could refer them to use NO_BOOTMEM.
still keep find_lmb_area, may replace those find_lmb_area will lmb_alloc, if everything go fine
Please put them into tip and -next to have more test coverage.
Thanks
Yinghai