mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
[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>
This commit is contained in:
parent
bd1e22b8e0
commit
5a4d436159
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue