mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +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
@ -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 New Issue
Block a user