OSDN Git Service
(root)
/
android-x86
/
kernel.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
|
history
diff --git
a/mm/memory_hotplug.c
b/mm/memory_hotplug.c
index
1b1ac3d
..
841a077
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;
}