diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-06-14 21:34:17 -0700 |
---|---|---|
committer | Neeraj Upadhyay <neeraj.upadhyay@kernel.org> | 2024-07-29 07:35:44 +0530 |
commit | 72ed29f68e6370841ba10edce5b9a213259eb9a9 (patch) | |
tree | a24b79d9e124c111f82d8d2cec1d565f4de0f197 /fs/btrfs/tree-mod-log.c | |
parent | 1bc5bb9a61378bbb2ca73ab06651d5b174876a8e (diff) |
rcutorture: Generic test for NUM_ACTIVE_*RCU_POLL*
The rcutorture test suite has specific tests for both of the
NUM_ACTIVE_RCU_POLL_OLDSTATE and NUM_ACTIVE_RCU_POLL_FULL_OLDSTATE
macros provided for RCU polled grace periods. However, with the
advent of NUM_ACTIVE_SRCU_POLL_OLDSTATE, a more generic test is needed.
This commit therefore adds ->poll_active and ->poll_active_full fields
to the rcu_torture_ops structure and converts the existing specific
tests to use these fields, when present.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Signed-off-by: Neeraj Upadhyay <neeraj.upadhyay@kernel.org>
Diffstat (limited to 'fs/btrfs/tree-mod-log.c')
0 files changed, 0 insertions, 0 deletions