]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
srcu: Crude control of expedited grace periods
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Fri, 24 Mar 2017 20:46:33 +0000 (13:46 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Tue, 18 Apr 2017 18:38:22 +0000 (11:38 -0700)
commitf60d231a87c5c9f23f10e69996f396d46f5bf901
tree04076adf019c43dbf7f31ad435aed8361a9a46b0
parent80a7956fe36c2ee40c6ff12c77926d267802b7c8
srcu: Crude control of expedited grace periods

SRCU's implementation of expedited grace periods has always assumed
that the SRCU instance is idle when the expedited request arrives.
This commit improves this a bit by maintaining a count of the number
of outstanding expedited requests, thus allowing prior non-expedited
grace periods accommodate these requests by shifting to expedited mode.
However, any non-expedited wait already in progress will still wait for
the full duration.

Improved control of expedited grace periods is planned, but one step
at a time.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/srcu.h
kernel/rcu/srcu.c