diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-25 20:49:47 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-08-31 01:03:44 +0200 |
commit | d3052109c0bc9e536d17d627ae628ed8ceb6928c (patch) | |
tree | 95d7a83a78bf0d3f1ba62975d7258d1d547038e9 /kernel/rcu/tree_exp.h | |
parent | rcu: Compute jiffies_till_sched_qs from other kernel parameters (diff) | |
download | linux-d3052109c0bc9e536d17d627ae628ed8ceb6928c.tar.xz linux-d3052109c0bc9e536d17d627ae628ed8ceb6928c.zip |
rcu: More aggressively enlist scheduler aid for nohz_full CPUs
Because nohz_full CPUs can leave the scheduler-clock interrupt disabled
even when in kernel mode, RCU cannot rely on rcu_check_callbacks() to
enlist the scheduler's aid in extracting a quiescent state from such CPUs.
This commit therefore more aggressively uses resched_cpu() on nohz_full
CPUs that fail to pass through a quiescent state in a timely manner.
By default, the resched_cpu() beating starts 300 milliseconds into the
quiescent state.
While in the neighborhood, add a ->last_fqs_resched field to the rcu_data
structure in order to rate-limit resched_cpu() calls from the RCU
grace-period kthread.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree_exp.h')
0 files changed, 0 insertions, 0 deletions