]> Git Repo - linux.git/commit
memcg: cpu hotplug aware percpu count updates
authorKAMEZAWA Hiroyuki <[email protected]>
Wed, 27 Oct 2010 22:33:42 +0000 (15:33 -0700)
committerLinus Torvalds <[email protected]>
Thu, 28 Oct 2010 01:03:09 +0000 (18:03 -0700)
commit711d3d2c9bc3fb7cb5116352fecdb5b4adb6db6e
tree09979a5e3d7b2e1fe7b7de193d11d6f468a67e76
parent7d74b06f240f1bd1b4b68dd6fe84164d8bf4e315
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 <[email protected]>
Cc: Balbir Singh <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/memcontrol.c
This page took 0.071037 seconds and 4 git commands to generate.