]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] memory hotplug prep: break out zone initialization
authorDave Hansen <haveblue@us.ibm.com>
Sun, 30 Oct 2005 01:16:50 +0000 (18:16 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sun, 30 Oct 2005 04:40:44 +0000 (21:40 -0700)
commited8ece2ec8d3c2031b1a1a0737568bb0d49454e0
tree5fb5b994ad3fcdc4ab2bb2c906d88c02a8395807
parent2774812f417db562f0d659d2c1b5755ba35d2770
[PATCH] memory hotplug prep: break out zone initialization

If a zone is empty at boot-time and then hot-added to later, it needs to run
the same init code that would have been run on it at boot.

This patch breaks out zone table and per-cpu-pages functions for use by the
hotplug code.  You can almost see all of the free_area_init_core() function on
one page now.  :)

Signed-off-by: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c