diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-04-23 12:26:38 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-04 09:25:03 -0700 |
commit | ad4ba375373937817404fd92239ef4cadbded23b (patch) | |
tree | 1c59ebd7a1e3ace3539396dd35ecff0f06132fe8 /fs/nfs/pagelist.c | |
parent | 1ce7e4ff24fe338438bc7837e02780f202bf202b (diff) | |
download | op-kernel-dev-ad4ba375373937817404fd92239ef4cadbded23b.zip op-kernel-dev-ad4ba375373937817404fd92239ef4cadbded23b.tar.gz |
memcg: css_id() must be called under rcu_read_lock()
This patch fixes task_in_mem_cgroup(), mem_cgroup_uncharge_swapcache(),
mem_cgroup_move_swap_account(), and is_target_pte_for_mc() to protect
calls to css_id(). An additional RCU lockdep splat was reported for
memcg_oom_wake_function(), however, this function is not yet in
mainline as of 2.6.34-rc5.
Reported-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>
Cc: Balbir Singh <balbir@linux.vnet.ibm.com>
Signed-off-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Tested-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'fs/nfs/pagelist.c')
0 files changed, 0 insertions, 0 deletions