From: KAMEZAWA Hiroyuki Date: Wed, 27 Oct 2010 22:33:42 +0000 (-0700) Subject: memcg: cpu hotplug aware percpu count updates X-Git-Tag: v2.6.37-rc1~85^2~91 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=711d3d2c9bc3;p=pandora-kernel.git 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 Cc: Balbir Singh Cc: Daisuke Nishimura Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed