projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db1466b
)
rcu, cgroup: Relax the check in task_subsys_state() as early boot is now handled...
author
Paul E. McKenney
<
[email protected]
>
Wed, 3 Mar 2010 15:46:58 +0000
(07:46 -0800)
committer
Ingo Molnar
<
[email protected]
>
Thu, 4 Mar 2010 11:07:31 +0000
(12:07 +0100)
This patch removes the check for !rcu_scheduler_active because
this check has been incorporated into rcu_dereference_check().
Signed-off-by: Paul E. McKenney <
[email protected]
>
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
Cc:
[email protected]
LKML-Reference: <
1267631219
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
include/linux/cgroup.h
patch
|
blob
|
history
diff --git
a/include/linux/cgroup.h
b/include/linux/cgroup.h
index a73e1ced09b863d675aa2cfca6e4540d4f471a2f..c9bbcb2a75aecbacdb1463cf08a2b0a26d0f264b 100644
(file)
--- a/
include/linux/cgroup.h
+++ b/
include/linux/cgroup.h
@@
-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());
}