linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [RFC PATCH 0/3] Cleanup for free_area_init_node / free_area_init_core
@ 2018-07-17 10:56 osalvador
  2018-07-17 10:56 ` [RFC PATCH 1/3] mm: Make free_area_init_core more readable by moving the ifdefs osalvador
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: osalvador @ 2018-07-17 10:56 UTC (permalink / raw)
  To: linux-mm
  Cc: pasha.tatashin, mhocko, vbabka, akpm, aaron.lu, iamjoonsoo.kim,
	linux-kernel, Oscar Salvador

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-07-18  2:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-17 10:56 [RFC PATCH 0/3] Cleanup for free_area_init_node / free_area_init_core osalvador
2018-07-17 10:56 ` [RFC PATCH 1/3] mm: Make free_area_init_core more readable by moving the ifdefs osalvador
2018-07-17 10:56 ` [RFC PATCH 2/3] mm: Refactor free_area_init_core osalvador
2018-07-17 10:56 ` [RFC PATCH 3/3] mm: Make free_area_init_node call certain functions only when booting osalvador
2018-07-18  2:01 ` [RFC PATCH 0/3] Cleanup for free_area_init_node / free_area_init_core Oscar Salvador

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox