summaryrefslogtreecommitdiff
path: root/mm/page_cgroup.c
diff options
context:
space:
mode:
authorKAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>2010-10-28 02:33:42 +0400
committerLinus Torvalds <torvalds@linux-foundation.org>2010-10-28 05:03:09 +0400
commit711d3d2c9bc3fb7cb5116352fecdb5b4adb6db6e (patch)
tree09979a5e3d7b2e1fe7b7de193d11d6f468a67e76 /mm/page_cgroup.c
parent7d74b06f240f1bd1b4b68dd6fe84164d8bf4e315 (diff)
downloadlinux-711d3d2c9bc3fb7cb5116352fecdb5b4adb6db6e.tar.xz
memcg: cpu hotplug aware percpu count updates
Now, memcgroup's per cpu coutner uses for_each_possible_cpu() to get the value. It's better to use for_each_online_cpu() and a cpu hotplug handler. This patch only handles statistics counter. MEM_CGROUP_ON_MOVE will be handled in another patch. Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp> 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')
0 files changed, 0 insertions, 0 deletions