Commit 95ff24e
committed
rcu: Upgrade header comment for poll_state_synchronize_rcu()
This commit emphasizes the possibility of concurrent calls to
synchronize_rcu() and synchronize_rcu_expedited() causing one or
the other of the two grace periods being lost from the viewpoint of
poll_state_synchronize_rcu().
If you cannot afford to lose grace periods this way, you should
instead use the _full() variants of the polled RCU API, for
example, poll_state_synchronize_rcu_full().
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>1 parent 253cbbf commit 95ff24e
1 file changed
Lines changed: 9 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3559 | 3559 | | |
3560 | 3560 | | |
3561 | 3561 | | |
3562 | | - | |
| 3562 | + | |
| 3563 | + | |
| 3564 | + | |
3563 | 3565 | | |
3564 | 3566 | | |
3565 | 3567 | | |
| |||
3570 | 3572 | | |
3571 | 3573 | | |
3572 | 3574 | | |
| 3575 | + | |
| 3576 | + | |
| 3577 | + | |
| 3578 | + | |
| 3579 | + | |
| 3580 | + | |
3573 | 3581 | | |
3574 | 3582 | | |
3575 | 3583 | | |
| |||
0 commit comments