Skip to content

Commit 68c2f27

Browse files
committed
rcu: Expedited grace-period sleeps to idle priority
This commit converts the schedule_timeout_uninterruptible() call used by RCU's expedited grace-period processing to schedule_timeout_idle(). This conversion avoids polluting the load-average with RCU-related sleeping. Signed-off-by: Paul E. McKenney <[email protected]>
1 parent f5ca346 commit 68c2f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/rcu/tree_exp.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ static void sync_rcu_exp_select_node_cpus(struct work_struct *wp)
403403
/* Online, so delay for a bit and try again. */
404404
raw_spin_unlock_irqrestore_rcu_node(rnp, flags);
405405
trace_rcu_exp_grace_period(rcu_state.name, rcu_exp_gp_seq_endval(), TPS("selectofl"));
406-
schedule_timeout_uninterruptible(1);
406+
schedule_timeout_idle(1);
407407
goto retry_ipi;
408408
}
409409
/* CPU really is offline, so we must report its QS. */

0 commit comments

Comments
 (0)