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:
7e8b4c7
)
rcu: call __rcu_read_unlock() in exit_rcu for tree RCU
author
Lai Jiangshan
<
[email protected]
>
Fri, 25 Feb 2011 19:37:59 +0000
(11:37 -0800)
committer
Paul E. McKenney
<
[email protected]
>
Fri, 6 May 2011 06:16:58 +0000
(23:16 -0700)
Using __rcu_read_lock() in place of rcu_read_lock() leaves any debug
state as it really should be, namely with the lock still held.
Signed-off-by: Lai Jiangshan <
[email protected]
>
Signed-off-by: Paul E. McKenney <
[email protected]
>
Reviewed-by: Josh Triplett <
[email protected]
>
kernel/rcutree_plugin.h
patch
|
blob
|
history
diff --git
a/kernel/rcutree_plugin.h
b/kernel/rcutree_plugin.h
index a21413d0581dbc5ef78807d8c63a31b420e4832e..11b27f377b8ba4245778993b64ae75ea6999b124 100644
(file)
--- a/
kernel/rcutree_plugin.h
+++ b/
kernel/rcutree_plugin.h
@@
-858,7
+858,7
@@
void exit_rcu(void)
if (t->rcu_read_lock_nesting == 0)
return;
t->rcu_read_lock_nesting = 1;
- rcu_read_unlock();
+
__
rcu_read_unlock();
}
#else /* #ifdef CONFIG_TREE_PREEMPT_RCU */