diff options
author | Li Zefan <lizf@cn.fujitsu.com> | 2010-04-23 10:35:52 +0800 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2010-05-04 09:25:02 -0700 |
commit | 1ce7e4ff24fe338438bc7837e02780f202bf202b (patch) | |
tree | 3906643ba96ba8b3fda2291e5e40e48bbba9085f /mm | |
parent | b629317e66fb1c6066c550dded45ab85a936163c (diff) |
cgroup: Check task_lock in task_subsys_state()
Expand task_subsys_state()'s rcu_dereference_check() to include the full
locking rule as documented in Documentation/cgroups/cgroups.txt by adding
a check for task->alloc_lock being held.
This fixes an RCU false positive when resuming from suspend. The warning
comes from freezer cgroup in cgroup_freezing_or_frozen().
Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Acked-by: Matt Helsley <matthltc@us.ibm.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'mm')
0 files changed, 0 insertions, 0 deletions