lkml.org 
[lkml]   [2018]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[RFC PATCH 0/3] Cleanup for free_area_init_node / free_area_init_core
Date
From: Oscar Salvador <osalvador@suse.de>

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 <osalvador@suse.de>

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(-)

--
2.13.6

\
 
 \ /
  Last update: 2018-07-17 12:57    [W:0.039 / U:0.320 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site