RFC Cleanup for free_area_init_node / free_area_init_core
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mm: Make free_area_init_core more readable by moving the ifdefsmm/ | +37 | 0 replies | |
| 2/3 | mm: Refactor free_area_init_coremm/ | +57 | 0 replies | |
| 3/3 | mm: Make free_area_init_node call certain functions only when bootingmm/ | +22 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
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.
Signed-off-by Oscar Salvador <[email protected]>
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