Skip to content

bootmem rewrite v2

Johannes Weiner linux-arch linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest14 patches 7 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14bootmem: reorder code to match new bootmem structureinclude/linux/bootmem.h mm/bootmem.c+246 -2460 replies
2/14bootmem: clean up bootmem.c file headermm/bootmem.c+5 -90 replies
3/14bootmem: add documentation to API functionsmm/bootmem.c+146 -12 replies
4/14bootmem: add debugging frameworkmm/bootmem.c+44 -70 replies
5/14bootmem: revisit bitmap size calculationsmm/bootmem.c+9 -180 replies
6/14bootmem: revisit bootmem descriptor list handlingmm/bootmem.c+10 -130 replies
7/14bootmem: clean up free_all_bootmem_coremm/bootmem.c+38 -450 replies
8/14bootmem: clean up alloc_bootmem_coreinclude/linux/bootmem.h mm/bootmem.c+72 -1374 replies
9/14bootmem: free/reserve helpersmm/bootmem.c+43 -210 replies
10/14bootmem: factor out the marking of a PFN rangeinclude/linux/bootmem.h mm/bootmem.c+73 -1200 replies
11/14bootmem: respect goal more likelymm/bootmem.c+41 -361 reply
12/14bootmem: Make __alloc_bootmem_low_node fall back to other nodesmm/bootmem.c+16 -90 replies
13/14bootmem: revisit alloc_bootmem_sectionmm/bootmem.c+6 -210 replies
14/14bootmem: replace node_boot_start in struct bootmem_dataarch/alpha/mm/numa.c arch/arm/plat-omap/fb.c arch/avr32/mm/init.c +8 more+42 -480 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH -mm 00/14] bootmem rewrite v2

Hi Andrew,

to your request I broke up this big diff into more reviewable smaller chunks. They apply to -mmotm (modulo the conflicts I ran into, but they seemed unrelated).

So, here is another version of my attempt to cleanly rewrite the bootmem allocator. More details in the respective patch changelogs.

Compile- and runtime tested on x86 32bit UMA.

Hannes

 arch/alpha/mm/numa.c     |    2 +-
 arch/arm/plat-omap/fb.c  |    4 +-
 arch/avr32/mm/init.c     |    3 +-
 arch/ia64/mm/discontig.c |   19 +-
 arch/m32r/mm/discontig.c |    3 +-
 arch/m32r/mm/init.c      |    4 +-
 arch/mn10300/mm/init.c   |    6 +-
 arch/sh/mm/init.c        |    2 +-
 include/linux/bootmem.h  |   82 ++--
 mm/bootmem.c             |  918 +++++++++++++++++++++++++---------------------
 10 files changed, 552 insertions(+), 491 deletions(-)

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>