diff options
author | 2010-10-27 15:33:42 -0700 | |
---|---|---|
committer | 2010-10-27 18:03:09 -0700 | |
commit | 1489ebad8b5b20300562f634f279cb9c435fd90b (patch) | |
tree | 4bfa738b0733c11120705aaa37a45d87d1dd5534 /arch/m32r/kernel | |
parent | memcg: cpu hotplug aware percpu count updates (diff) | |
download | wireguard-linux-1489ebad8b5b20300562f634f279cb9c435fd90b.tar.xz wireguard-linux-1489ebad8b5b20300562f634f279cb9c435fd90b.zip |
memcg: cpu hotplug aware quick acount_move detection
An event counter MEM_CGROUP_ON_MOVE is used for quick check whether file
stat update can be done in async manner or not. Now, it use percpu
counter and for_each_possible_cpu to update.
This patch replaces for_each_possible_cpu to for_each_online_cpu and adds
necessary synchronization logic at CPU HOTPLUG.
[akpm@linux-foundation.org: coding-style fixes]
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 'arch/m32r/kernel')
0 files changed, 0 insertions, 0 deletions