Commit 5a4d4361 authored by KAMEZAWA Hiroyuki's avatar KAMEZAWA Hiroyuki Committed by Linus Torvalds

[PATCH] update vm_total_pages at memory hotadd

Signed-off-by: default avatarKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent bd1e22b8
...@@ -160,6 +160,6 @@ int online_pages(unsigned long pfn, unsigned long nr_pages) ...@@ -160,6 +160,6 @@ int online_pages(unsigned long pfn, unsigned long nr_pages)
if (need_zonelists_rebuild) if (need_zonelists_rebuild)
build_all_zonelists(); build_all_zonelists();
vm_total_pages = nr_free_pagecache_pages();
return 0; return 0;
} }
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment