projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb600d2
)
rcu: call __rcu_read_unlock() in exit_rcu for tiny RCU
author
Lai Jiangshan
<laijs@cn.fujitsu.com>
Mon, 10 Jan 2011 02:09:51 +0000
(18:09 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Fri, 4 Mar 2011 16:05:08 +0000
(08:05 -0800)
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 <laijs@cn.fujitsu.com>
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutiny_plugin.h
patch
|
blob
|
blame
|
history
diff --git
a/kernel/rcutiny_plugin.h
b/kernel/rcutiny_plugin.h
index 015abaea962ad4087130014506b72dc19b33b43d..3cb8e362e8838454c0467bc4f20b93b19fbda054 100644
(file)
--- a/
kernel/rcutiny_plugin.h
+++ b/
kernel/rcutiny_plugin.h
@@
-852,7
+852,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_TINY_PREEMPT_RCU */