mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
rcu: Clean up flavor-related definitions and comments in rcupdate_wait.h
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
This commit is contained in:
parent
aff5f0369e
commit
df8561a0d7
1 changed files with 7 additions and 7 deletions
|
@ -33,17 +33,17 @@ do { \
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* synchronize_rcu_mult - Wait concurrently for multiple grace periods
|
* synchronize_rcu_mult - Wait concurrently for multiple grace periods
|
||||||
* @...: List of call_rcu() functions for the flavors to wait on.
|
* @...: List of call_rcu() functions for different grace periods to wait on
|
||||||
*
|
*
|
||||||
* This macro waits concurrently for multiple flavors of RCU grace periods.
|
* This macro waits concurrently for multiple types of RCU grace periods.
|
||||||
* For example, synchronize_rcu_mult(call_rcu, call_rcu_sched) would wait
|
* For example, synchronize_rcu_mult(call_rcu, call_rcu_tasks) would wait
|
||||||
* on concurrent RCU and RCU-sched grace periods. Waiting on a give SRCU
|
* on concurrent RCU and RCU-tasks grace periods. Waiting on a give SRCU
|
||||||
* domain requires you to write a wrapper function for that SRCU domain's
|
* domain requires you to write a wrapper function for that SRCU domain's
|
||||||
* call_srcu() function, supplying the corresponding srcu_struct.
|
* call_srcu() function, supplying the corresponding srcu_struct.
|
||||||
*
|
*
|
||||||
* If Tiny RCU, tell _wait_rcu_gp() not to bother waiting for RCU
|
* If Tiny RCU, tell _wait_rcu_gp() does not bother waiting for RCU,
|
||||||
* or RCU-sched, given that anywhere synchronize_rcu_mult() can be called
|
* given that anywhere synchronize_rcu_mult() can be called is automatically
|
||||||
* is automatically a grace period.
|
* a grace period.
|
||||||
*/
|
*/
|
||||||
#define synchronize_rcu_mult(...) \
|
#define synchronize_rcu_mult(...) \
|
||||||
_wait_rcu_gp(IS_ENABLED(CONFIG_TINY_RCU), __VA_ARGS__)
|
_wait_rcu_gp(IS_ENABLED(CONFIG_TINY_RCU), __VA_ARGS__)
|
||||||
|
|
Loading…
Reference in a new issue