summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-04-23 12:26:38 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2010-05-04 09:25:03 -0700
commitad4ba375373937817404fd92239ef4cadbded23b (patch)
tree1c59ebd7a1e3ace3539396dd35ecff0f06132fe8 /include
parent1ce7e4ff24fe338438bc7837e02780f202bf202b (diff)
downloadblackbird-op-linux-ad4ba375373937817404fd92239ef4cadbded23b.tar.gz
blackbird-op-linux-ad4ba375373937817404fd92239ef4cadbded23b.zip
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 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud