projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd1e22b
)
[PATCH] update vm_total_pages at memory hotadd
author
KAMEZAWA Hiroyuki
<kamezawa.hiroyu@jp.fujitsu.com>
Fri, 23 Jun 2006 09:03:47 +0000
(
02:03
-0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 23 Jun 2006 14:42:52 +0000
(07:42 -0700)
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>
mm/memory_hotplug.c
patch
|
blob
|
blame
|
history
diff --git
a/mm/memory_hotplug.c
b/mm/memory_hotplug.c
index 1b1ac3db218785f3e868602de0165a48c6519954..841a077d5aeb0d3423ecba8ed5d81efdd72c2442 100644
(file)
--- a/
mm/memory_hotplug.c
+++ b/
mm/memory_hotplug.c
@@
-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;
}