diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-01-04 05:29:57 +0100 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-03-31 22:34:50 +0200 |
commit | 8c7c4829a81c1838f18c12ce5a3a5c29a08bf0a8 (patch) | |
tree | 0d06174a9f214fb1eb96919d48c490c0fae0db1c /kernel/rcu/tree.h | |
parent | rcu: Make FQS schedule advance only if FQS happened (diff) | |
download | linux-8c7c4829a81c1838f18c12ce5a3a5c29a08bf0a8.tar.xz linux-8c7c4829a81c1838f18c12ce5a3a5c29a08bf0a8.zip |
rcu: Awaken grace-period kthread if too long since FQS
Recent kernels can fail to awaken the grace-period kthread for
quiescent-state forcing. This commit is a crude hack that does
a wakeup if a scheduling-clock interrupt sees that it has been
too long since force-quiescent-state (FQS) processing.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/tree.h')
-rw-r--r-- | kernel/rcu/tree.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index df668c0f9e64..34d3973f7223 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -513,6 +513,8 @@ struct rcu_state { unsigned long jiffies_force_qs; /* Time at which to invoke */ /* force_quiescent_state(). */ + unsigned long jiffies_kick_kthreads; /* Time at which to kick */ + /* kthreads, if configured. */ unsigned long n_force_qs; /* Number of calls to */ /* force_quiescent_state(). */ unsigned long n_force_qs_lh; /* ~Number of calls leaving */ |