Skip to content

RFC Cleanup for free_area_init_node / free_area_init_core

[email protected] linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mm: Make free_area_init_core more readable by moving the ifdefsmm/page_alloc.c+37 -130 replies
2/3mm: Refactor free_area_init_coremm/page_alloc.c+57 -490 replies
3/3mm: Make free_area_init_node call certain functions only when bootingmm/page_alloc.c+22 -150 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [RFC PATCH 0/3] Cleanup for free_area_init_node / free_area_init_core

From: Oscar Salvador <[email protected]>

While trying to cleanup the memhotplug code, I found quite difficult to follow free_area_init_node / free_area_init_core wrt which functions get called from the memhotplug path.

This is en effort to try to refactor / cleanup those two functions a little bit, to make them easier to read.

It compiles, but I did not test it.
I would like to get some feedback to see if it is worth or not.

Oscar Salvador (3):
mm: Make free_area_init_core more readable by moving the ifdefs
mm: Refactor free_area_init_core
mm: Make free_area_init_node call certain functions only when booting

 mm/page_alloc.c | 193 ++++++++++++++++++++++++++++++++++----------------------
 1 file changed, 116 insertions(+), 77 deletions(-)
Signature · 1 line
2.13.6