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:
26861fa
)
rcu: Streamline code produced by __rcu_read_unlock()
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Wed, 11 Jan 2012 23:30:36 +0000
(15:30 -0800)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Tue, 21 Feb 2012 17:03:40 +0000
(09:03 -0800)
This is a port of commit #
be0e1e21
to TINY_PREEMPT_RCU. This uses
noinline to prevent rcu_read_unlock_special() from being inlined into
__rcu_read_unlock().
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
kernel/rcutiny_plugin.h
patch
|
blob
|
history
diff --git
a/kernel/rcutiny_plugin.h
b/kernel/rcutiny_plugin.h
index 432ed2bc05ad79d95c0b0666ccba116752222bfc..b58a3200f0ff0948b48329aeb7c999d4523abac8 100644
(file)
--- a/
kernel/rcutiny_plugin.h
+++ b/
kernel/rcutiny_plugin.h
@@
-544,7
+544,7
@@
EXPORT_SYMBOL_GPL(__rcu_read_lock);
* notify RCU core processing or task having blocked during the RCU
* read-side critical section.
*/
-static void rcu_read_unlock_special(struct task_struct *t)
+static
noinline
void rcu_read_unlock_special(struct task_struct *t)
{
int empty;
int empty_exp;