[PATCH] wait_table and zonelist initializing for memory hotadd: wait_table initialization
authorYasunori Goto <y-goto@jp.fujitsu.com>
Fri, 23 Jun 2006 09:03:10 +0000 (02:03 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:46 +0000 (07:42 -0700)
commitcca448fe92246fb59efe55ba2e048ded0971a9af
tree9663651686508b62a061851927f0b330200c40b1
parent718127cc3170454f4aa274fdd2f1e01574fecd66
[PATCH] wait_table and zonelist initializing for memory hotadd: wait_table initialization

Wait_table is initialized according to zone size at boot time.  But, we cannot
know the maixmum zone size when memory hotplug is enabled.  It can be
changed....  And resizing of wait_table is hard.

So kernel allocate and initialzie wait_table as its maximum size.

Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/page_alloc.c