Skip to content

Commit

Permalink
[PATCH] update vm_total_pages at memory hotadd
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
KAMEZAWA Hiroyuki authored and Linus Torvalds committed Jun 23, 2006
1 parent bd1e22b commit 5a4d436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mm/memory_hotplug.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,6 @@ int online_pages(unsigned long pfn, unsigned long nr_pages)

if (need_zonelists_rebuild)
build_all_zonelists();

vm_total_pages = nr_free_pagecache_pages();
return 0;
}

0 comments on commit 5a4d436

Please sign in to comment.