diff options
author | Kent Liu <kent.liu@linux.intel.com> | 2008-07-24 06:28:18 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2008-07-24 19:47:21 +0200 |
commit | 2f7f24eca31c4fc2fdb134b2ef743ccd67cfb9a9 (patch) | |
tree | 6c2169b8a7b160cbacdc41f376a4e2dea993e579 /drivers/base | |
parent | memory hotplug: small fixes to bootmem freeing for memory hotremove (diff) | |
download | linux-2f7f24eca31c4fc2fdb134b2ef743ccd67cfb9a9.tar.xz linux-2f7f24eca31c4fc2fdb134b2ef743ccd67cfb9a9.zip |
memory-hotplug: don't calculate vm_total_pages twice when rebuilding zonelists in online_pages()
If zonelist is required to be rebuilt in online_pages(), there is no need
to recalculate vm_total_pages in that function, as it has been updated in
the call build_all_zonelists().
Signed-off-by: Kent Liu <kent.liu@linux.intel.com>
Acked-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions