diff options
Diffstat (limited to 'include/linux/rcupdate_wait.h')
| -rw-r--r-- | include/linux/rcupdate_wait.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/linux/rcupdate_wait.h b/include/linux/rcupdate_wait.h index 57f371344152..8a16c3eb3dd0 100644 --- a/include/linux/rcupdate_wait.h +++ b/include/linux/rcupdate_wait.h | |||
| @@ -33,17 +33,17 @@ do { \ | |||
| 33 | 33 | ||
| 34 | /** | 34 | /** |
| 35 | * synchronize_rcu_mult - Wait concurrently for multiple grace periods | 35 | * synchronize_rcu_mult - Wait concurrently for multiple grace periods |
| 36 | * @...: List of call_rcu() functions for the flavors to wait on. | 36 | * @...: List of call_rcu() functions for different grace periods to wait on |
| 37 | * | 37 | * |
| 38 | * This macro waits concurrently for multiple flavors of RCU grace periods. | 38 | * This macro waits concurrently for multiple types of RCU grace periods. |
| 39 | * For example, synchronize_rcu_mult(call_rcu, call_rcu_bh) would wait | 39 | * For example, synchronize_rcu_mult(call_rcu, call_rcu_tasks) would wait |
| 40 | * on concurrent RCU and RCU-bh grace periods. Waiting on a give SRCU | 40 | * on concurrent RCU and RCU-tasks grace periods. Waiting on a give SRCU |
| 41 | * domain requires you to write a wrapper function for that SRCU domain's | 41 | * domain requires you to write a wrapper function for that SRCU domain's |
| 42 | * call_srcu() function, supplying the corresponding srcu_struct. | 42 | * call_srcu() function, supplying the corresponding srcu_struct. |
| 43 | * | 43 | * |
| 44 | * If Tiny RCU, tell _wait_rcu_gp() not to bother waiting for RCU | 44 | * If Tiny RCU, tell _wait_rcu_gp() does not bother waiting for RCU, |
| 45 | * or RCU-bh, given that anywhere synchronize_rcu_mult() can be called | 45 | * given that anywhere synchronize_rcu_mult() can be called is automatically |
| 46 | * is automatically a grace period. | 46 | * a grace period. |
| 47 | */ | 47 | */ |
| 48 | #define synchronize_rcu_mult(...) \ | 48 | #define synchronize_rcu_mult(...) \ |
| 49 | _wait_rcu_gp(IS_ENABLED(CONFIG_TINY_RCU), __VA_ARGS__) | 49 | _wait_rcu_gp(IS_ENABLED(CONFIG_TINY_RCU), __VA_ARGS__) |
