diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-01-12 00:30:36 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2012-02-21 18:03:40 +0100 |
commit | afef20540f7cd1ea91bc1ac20be238389eee4003 (patch) | |
tree | 876449c4304fe57004f3c057777c728ed443113b /kernel/rcutiny_plugin.h | |
parent | rcu: Protect __rcu_read_unlock() against scheduler-using irq handlers (diff) | |
download | linux-afef20540f7cd1ea91bc1ac20be238389eee4003.tar.xz linux-afef20540f7cd1ea91bc1ac20be238389eee4003.zip |
rcu: Streamline code produced by __rcu_read_unlock()
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>
Diffstat (limited to '')
-rw-r--r-- | kernel/rcutiny_plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/rcutiny_plugin.h b/kernel/rcutiny_plugin.h index 432ed2bc05ad..b58a3200f0ff 100644 --- 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; |