Yasunori Goto 13466c8419 memory hotplug: fix unnecessary calling of init_currenty_empty_zone()
zone->present_pages is updated in online_pages().  But, __add_zone() can be
called twice or more before calling online_pages().  So,
init_currenty_empty_zone() can be called unnecessary times.  It is cause of
memory leak of zone's wait_table.

Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-06-01 08:18:29 -07:00
..
2007-05-21 09:18:19 -07:00
2007-05-14 09:55:35 +09:00
2007-05-21 09:18:19 -07:00
2007-05-17 05:23:06 -07:00
2007-05-21 09:18:19 -07:00
2007-05-21 09:18:19 -07:00
2007-05-17 05:23:06 -07:00
2007-05-17 05:23:04 -07:00
2007-05-19 09:11:58 +02:00
2007-05-17 05:23:04 -07:00
2007-05-31 07:58:14 -07:00
2007-05-17 05:23:04 -07:00
2007-05-21 09:18:19 -07:00