aboutsummaryrefslogtreecommitdiffstats
path: root/mm
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2006-06-23 05:03:47 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-23 10:42:52 -0400
commit5a4d43615921575b0c8299a5407ce4836e4138fd (patch)
treeebe9c4ca8dada54124e6c4507736585ae4d57d0b /mm
parentbd1e22b8e0a90f9a91e4c27db14ca15773659bf7 (diff)
[PATCH] update vm_total_pages at memory hotadd
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm')
-rw-r--r--mm/memory_hotplug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c
index 1b1ac3db2187..841a077d5aeb 100644
--- a/mm/memory_hotplug.c
+++ b/mm/memory_hotplug.c
@@ -160,6 +160,6 @@ int online_pages(unsigned long pfn, unsigned long nr_pages)
160 160
161 if (need_zonelists_rebuild) 161 if (need_zonelists_rebuild)
162 build_all_zonelists(); 162 build_all_zonelists();
163 163 vm_total_pages = nr_free_pagecache_pages();
164 return 0; 164 return 0;
165} 165}