Commit 5a4d43615921575b0c8299a5407ce4836e4138fd

Authored by KAMEZAWA Hiroyuki
Committed by Linus Torvalds
1 parent bd1e22b8e0

[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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -160,7 +160,7 @@
160 160  
161 161 if (need_zonelists_rebuild)
162 162 build_all_zonelists();
163   -
  163 + vm_total_pages = nr_free_pagecache_pages();
164 164 return 0;
165 165 }