commit | 5a4d43615921575b0c8299a5407ce4836e4138fd | [log] [tgz] |
---|---|---|
author | KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> | Fri Jun 23 02:03:47 2006 -0700 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Fri Jun 23 07:42:52 2006 -0700 |
tree | ebe9c4ca8dada54124e6c4507736585ae4d57d0b | |
parent | bd1e22b8e0a90f9a91e4c27db14ca15773659bf7 [diff] [blame] |
[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>
diff --git a/mm/memory_hotplug.c b/mm/memory_hotplug.c index 1b1ac3d..841a077 100644 --- a/mm/memory_hotplug.c +++ b/mm/memory_hotplug.c
@@ -160,6 +160,6 @@ if (need_zonelists_rebuild) build_all_zonelists(); - + vm_total_pages = nr_free_pagecache_pages(); return 0; }