diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-01-04 00:42:18 (GMT) |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2016-03-31 20:34:49 (GMT) |
commit | fcfd0a237bfcf0c314005007e9d76e55a25e2bad (patch) | |
tree | fd7984d324b09a4d4ef8662eec232b64bb80d703 /usr | |
parent | 86057b80ae31d37fcbdb5f57d15aaf1148c69f96 (diff) | |
download | linux-fcfd0a237bfcf0c314005007e9d76e55a25e2bad.tar.xz |
rcu: Make FQS schedule advance only if FQS happened
Currently, the force-quiescent-state (FQS) code in rcu_gp_kthread() can
advance the next FQS even if one was not executed last time. This can
happen due timeout-duration uncertainty. This commit therefore avoids
advancing the FQS schedule unless an FQS was just executed. In the
corner case where an FQS was not executed, but is due now, the code does
a one-jiffy wait.
This change prepares for kthread kicking.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions