]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/cgroup.h
rcu, cgroup: Relax the check in task_subsys_state() as early boot is now handled...
[net-next-2.6.git] / include / linux / cgroup.h
index a73e1ced09b863d675aa2cfca6e4540d4f471a2f..c9bbcb2a75aecbacdb1463cf08a2b0a26d0f264b 100644 (file)
@@ -489,7 +489,6 @@ static inline struct cgroup_subsys_state *task_subsys_state(
 {
        return rcu_dereference_check(task->cgroups->subsys[subsys_id],
                                     rcu_read_lock_held() ||
-                                    !rcu_scheduler_active ||
                                     cgroup_lock_is_held());
 }