Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afef2054 authored by Paul E. McKenney's avatar Paul E. McKenney
Browse files

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: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 26861faf
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -544,7 +544,7 @@ EXPORT_SYMBOL_GPL(__rcu_read_lock);
 * notify RCU core processing or task having blocked during the RCU
 * notify RCU core processing or task having blocked during the RCU
 * read-side critical section.
 * 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;
	int empty_exp;
	int empty_exp;