History

rcu: No-CBs-related sleeps to idle priority

This commit converts the schedule_timeout_interruptible() call used by RCU's no-CBs grace-period kthreads to schedule_timeout_idle(). This conversion avoids polluting the load-average with RCU-related sleeping.

Paul E. McKenney committed 6 years ago

Commit f5ca3461 parent a9352f71 file · +1 −1Browse files

Showing the changes to kernel (1 of 1 file). Show all

Unified · Split

kernel/rcu/tree_plugin.h+1−1
@@ -2005,7 +2005,7 @@ static void nocb_gp_wait(struct rcu_data *my_rdp) · 2004 unmodified lines
20052005 /* Polling, so trace if first poll in the series. */
20062006 if (gotcbs)
20072007 trace_rcu_nocb_wake(rcu_state.name, cpu, TPS("Poll"));
2008− schedule_timeout_interruptible(1);
2008+ schedule_timeout_idle(1);
20092009 } else if (!needwait_gp) {
20102010 /* Wait for callbacks to appear. */
20112011 trace_rcu_nocb_wake(rcu_state.name, cpu, TPS("Sleep"));

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t