diff options
author | Paul E. McKenney <[email protected]> | 2010-04-23 12:26:38 -0700 |
---|---|---|
committer | Paul E. McKenney <[email protected]> | 2010-05-04 09:25:03 -0700 |
commit | ad4ba375373937817404fd92239ef4cadbded23b (patch) | |
tree | 1c59ebd7a1e3ace3539396dd35ecff0f06132fe8 /drivers/mtd/lpddr/lpddr_cmds.c | |
parent | 1ce7e4ff24fe338438bc7837e02780f202bf202b (diff) |
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 <[email protected]>
Cc: Daisuke Nishimura <[email protected]>
Cc: Balbir Singh <[email protected]>
Signed-off-by: KAMEZAWA Hiroyuki <[email protected]>
Tested-by: Li Zefan <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Cc: Andrew Morton <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions