diff options
| author | 2010-05-07 13:58:21 -0700 | |
|---|---|---|
| committer | 2010-05-07 13:58:21 -0700 | |
| commit | 91bc482ec5a615e8ecebc106aaf7d0c267d511de (patch) | |
| tree | ad75789a5825fb2da75b2dbdc02d1969bad9b338 /include/linux/cgroup.h | |
| parent | Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze (diff) | |
| parent | rcu: create rcu_my_thread_group_empty() wrapper (diff) | |
| download | linux-dev-91bc482ec5a615e8ecebc106aaf7d0c267d511de.tar.xz linux-dev-91bc482ec5a615e8ecebc106aaf7d0c267d511de.zip | |
Merge branch 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip
* 'core-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
rcu: create rcu_my_thread_group_empty() wrapper
memcg: css_id() must be called under rcu_read_lock()
cgroup: Check task_lock in task_subsys_state()
sched: Fix an RCU warning in print_task()
cgroup: Fix an RCU warning in alloc_css_id()
cgroup: Fix an RCU warning in cgroup_path()
KEYS: Fix an RCU warning in the reading of user keys
KEYS: Fix an RCU warning
Diffstat (limited to 'include/linux/cgroup.h')
| -rw-r--r-- | include/linux/cgroup.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/cgroup.h b/include/linux/cgroup.h index b8ad1ea99586..8f78073d7caa 100644 --- a/include/linux/cgroup.h +++ b/include/linux/cgroup.h @@ -530,6 +530,7 @@ static inline struct cgroup_subsys_state *task_subsys_state( { return rcu_dereference_check(task->cgroups->subsys[subsys_id], rcu_read_lock_held() || + lockdep_is_held(&task->alloc_lock) || cgroup_lock_is_held()); } |
