diff options
| author | Paul E. McKenney <paulmck@kernel.org> | 2025-12-29 22:16:16 +0300 |
|---|---|---|
| committer | Boqun Feng <boqun.feng@gmail.com> | 2026-01-07 16:58:34 +0300 |
| commit | 37d9b475077b5096d41ebdc416a9019bd4fcfdb9 (patch) | |
| tree | dd49cbf519e893608287c54458c91bcf039fe633 /include/linux | |
| parent | 255019537cfd63d6adc16a55bcbfd79530d5937e (diff) | |
| download | linux-37d9b475077b5096d41ebdc416a9019bd4fcfdb9.tar.xz | |
rcutorture: Correctly compute probability to invoke ->exp_current()
Lack of parentheses causes the ->exp_current() function, for example,
srcu_expedite_current(), to be called only once in four billion times
instead of the intended once in 256 times. This commit therefore adds
the needed parentheses.
Reported-by: Chris Mason <clm@meta.com>
Reported-by: Joel Fernandes <joelagnelf@nvidia.com>
Fixes: 950063c6e897 ("rcutorture: Test srcu_expedite_current()")
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
