diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2020-11-13 09:37:39 -0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-03 10:09:29 +0200 |
| commit | 641e1d88404a57983c75cc39b9feb076f5cdeac8 (patch) | |
| tree | 10db2f873d10c6240deb4a20af5c635a94820be6 /include/linux/srcutiny.h | |
| parent | f789de3be808a0492a09cd7ad44cb017203572c6 (diff) | |
srcu: Provide internal interface to start a Tiny SRCU grace period
commit 1a893c711a600ab57526619b56e6f6b7be00956e upstream.
There is a need for a polling interface for SRCU grace periods.
This polling needs to initiate an SRCU grace period without
having to queue (and manage) a callback. This commit therefore
splits the Tiny SRCU call_srcu() function into callback-queuing and
start-grace-period portions, with the latter in a new function named
srcu_gp_start_if_needed().
Link: https://lore.kernel.org/rcu/20201112201547.GF3365678@moria.home.lan/
Reported-by: Kent Overstreet <kent.overstreet@gmail.com>
Reviewed-by: Neeraj Upadhyay <neeraju@codeaurora.org>
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/srcutiny.h')
0 files changed, 0 insertions, 0 deletions
