diff options
author | Lai Jiangshan <laijs@cn.fujitsu.com> | 2012-12-12 13:51:27 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-12-12 17:38:32 -0800 |
commit | 31aaea4aa1b267de52a44a72fd75990c79a9a433 (patch) | |
tree | efdaf2fc6caafb5757fb055bfb58735ef18a847b /mm/page_cgroup.c | |
parent | 4ff1b2c29326a2a3e130b46f69b7ab0e853d09d8 (diff) | |
download | kernel_goldelico_gta04-31aaea4aa1b267de52a44a72fd75990c79a9a433.zip kernel_goldelico_gta04-31aaea4aa1b267de52a44a72fd75990c79a9a433.tar.gz kernel_goldelico_gta04-31aaea4aa1b267de52a44a72fd75990c79a9a433.tar.bz2 |
memcontrol: use N_MEMORY instead N_HIGH_MEMORY
N_HIGH_MEMORY stands for the nodes that has normal or high memory.
N_MEMORY stands for the nodes that has any memory.
The code here need to handle with the nodes which have memory, we should
use N_MEMORY instead.
Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Signed-off-by: Wen Congyang <wency@cn.fujitsu.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Hillf Danton <dhillf@gmail.com>
Cc: Lin Feng <linfeng@cn.fujitsu.com>
Cc: David Rientjes <rientjes@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'mm/page_cgroup.c')
-rw-r--r-- | mm/page_cgroup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 44db00e..6d757e3 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c @@ -274,7 +274,7 @@ void __init page_cgroup_init(void) if (mem_cgroup_disabled()) return; - for_each_node_state(nid, N_HIGH_MEMORY) { + for_each_node_state(nid, N_MEMORY) { unsigned long start_pfn, end_pfn; start_pfn = node_start_pfn(nid); |