]> git.baikalelectronics.ru Git - kernel.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)
commit7675d0254f49d70a31936a9643db4c2bea1fd781
tree04076adf019c43dbf7f31ad435aed8361a9a46b0
parent307206d6a6e034943b78dda6718770b923cc1871
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