summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYasunori Goto <y-goto@jp.fujitsu.com>2007-06-01 09:46:53 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-06-01 17:18:29 +0200
commit13466c8419c3ab3ccd5e905eef53ca49c6c201be (patch)
treee39805fa48c00af09b76e0fc6a3a23b97a8b364e /drivers
parentRTC: use fallback IRQ if PNP tables don't provide one (diff)
downloadlinux-13466c8419c3ab3ccd5e905eef53ca49c6c201be.tar.xz
linux-13466c8419c3ab3ccd5e905eef53ca49c6c201be.zip
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>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions