diff options
| author | Yasunori Goto <[email protected]> | 2007-06-01 00:46:53 -0700 |
|---|---|---|
| committer | Linus Torvalds <[email protected]> | 2007-06-01 08:18:29 -0700 |
| commit | 13466c8419c3ab3ccd5e905eef53ca49c6c201be (patch) | |
| tree | e39805fa48c00af09b76e0fc6a3a23b97a8b364e /scripts | |
| parent | 6cd8fa87fbf31b2ab77b8aaec497e7f6a3757578 (diff) | |
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions