projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568035b
)
rcutorture: Make "srcud" option also test polled grace-period API
author
Paul E. McKenney
<paulmck@kernel.org>
Wed, 27 Jul 2022 23:16:41 +0000
(16:16 -0700)
committer
Paul E. McKenney
<paulmck@kernel.org>
Wed, 31 Aug 2022 12:10:15 +0000
(
05:10
-0700)
This commit brings the "srcud" (dynamically allocated) SRCU test in line
with the "srcu" (statically allocated) test, so that both test the full
SRCU polled grace-period API.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/rcutorture.c
b/kernel/rcu/rcutorture.c
index d8e1b270a065f9d5133f2b3a053da5c7f5e0e3fe..7168dc8d61e9814800a06135c8d7bd49a9c07c06 100644
(file)
--- a/
kernel/rcu/rcutorture.c
+++ b/
kernel/rcu/rcutorture.c
@@
-709,6
+709,9
@@
static struct rcu_torture_ops srcud_ops = {
.deferred_free = srcu_torture_deferred_free,
.sync = srcu_torture_synchronize,
.exp_sync = srcu_torture_synchronize_expedited,
+ .get_gp_state = srcu_torture_get_gp_state,
+ .start_gp_poll = srcu_torture_start_gp_poll,
+ .poll_gp_state = srcu_torture_poll_gp_state,
.call = srcu_torture_call,
.cb_barrier = srcu_torture_barrier,
.stats = srcu_torture_stats,