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-03-27 08:52:47 +02:00
2007-05-21 09:18:19 -07:00
2006-12-22 08:55:49 -08:00
2007-05-14 09:55:35 +09:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:54 -07:00
2007-05-17 05:23:06 -07:00
2007-02-15 09:57:03 -08:00
2007-05-21 09:18:19 -07:00
2007-05-09 08:57:56 +02:00
2007-05-21 09:18:19 -07:00
2007-05-07 12:12:55 -07:00
2005-04-16 15:20:36 -07:00
2007-05-07 12:12:54 -07:00
2007-05-07 12:12:52 -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