Files
linux/kernel
Paul E. McKenney 29d2bb94a8 srcu: Provide internal interface to start a Tree SRCU grace period
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
Tree SRCU __call_srcu() function into callback-initialization and
queuing/start-grace-period portions, with the latter in a new function
named srcu_gp_start_if_needed().  This function may be passed a NULL
callback pointer, in which case it will refrain from queuing anything.

Why have the new function mess with queuing?  Locking considerations,
of course!

Link: https://lore.kernel.org/rcu/[email protected]/
Reported-by: Kent Overstreet <[email protected]>
Reviewed-by: Neeraj Upadhyay <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
2021-01-04 13:53:37 -08:00
..
2020-12-09 17:47:36 -08:00
2020-11-24 16:47:49 +01:00
2020-12-15 22:46:18 -08:00
2020-12-02 22:52:16 -05:00
…
…
…
…
…
…
2020-12-09 17:08:45 +01:00
…
…
2020-12-15 22:46:19 -08:00
2020-11-14 11:26:04 -08:00
…
2020-07-27 14:31:12 -04:00
…
2020-12-01 10:30:28 +00:00
…
…
2020-12-19 11:18:38 -08:00
…
…
…
…
…
2020-08-19 14:14:12 +02:00
2020-08-19 14:13:20 +02:00