aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcutiny_plugin.h
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-01-11 18:30:36 -0500
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2012-02-21 12:03:40 -0500
commitafef20540f7cd1ea91bc1ac20be238389eee4003 (patch)
tree876449c4304fe57004f3c057777c728ed443113b /kernel/rcutiny_plugin.h
parent26861faf896a4cfdc4243281e5c305755f4bad52 (diff)
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 'kernel/rcutiny_plugin.h')
-rw-r--r--kernel/rcutiny_plugin.h2
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);
544 * notify RCU core processing or task having blocked during the RCU 544 * notify RCU core processing or task having blocked during the RCU
545 * read-side critical section. 545 * read-side critical section.
546 */ 546 */
547static void rcu_read_unlock_special(struct task_struct *t) 547static noinline void rcu_read_unlock_special(struct task_struct *t)
548{ 548{
549 int empty; 549 int empty;
550 int empty_exp; 550 int empty_exp;