Commit 62a1a945 authored by Paul E. McKenney's avatar Paul E. McKenney

rcu: Clean up flavor-related definitions and comments in rcutorture.c

Signed-off-by: default avatarPaul E. McKenney <paulmck@linux.vnet.ibm.com>
parent 7f87c036
...@@ -1221,7 +1221,7 @@ static void rcutorture_loop_extend(int *readstate, ...@@ -1221,7 +1221,7 @@ static void rcutorture_loop_extend(int *readstate,
WARN_ON_ONCE(!*readstate); /* -Existing- RCU read-side critsect! */ WARN_ON_ONCE(!*readstate); /* -Existing- RCU read-side critsect! */
if (!((mask - 1) & mask)) if (!((mask - 1) & mask))
return; /* Current RCU flavor not extendable. */ return; /* Current RCU reader not extendable. */
i = (torture_random(trsp) >> 3) & RCUTORTURE_RDR_MAX_LOOPS; i = (torture_random(trsp) >> 3) & RCUTORTURE_RDR_MAX_LOOPS;
while (i--) { while (i--) {
mask = rcutorture_extend_mask(*readstate, trsp); mask = rcutorture_extend_mask(*readstate, trsp);
...@@ -1790,7 +1790,7 @@ rcu_torture_cleanup(void) ...@@ -1790,7 +1790,7 @@ rcu_torture_cleanup(void)
cpuhp_remove_state(rcutor_hp); cpuhp_remove_state(rcutor_hp);
/* /*
* Wait for all RCU callbacks to fire, then do flavor-specific * Wait for all RCU callbacks to fire, then do torture-type-specific
* cleanup operations. * cleanup operations.
*/ */
if (cur_ops->cb_barrier != NULL) if (cur_ops->cb_barrier != NULL)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment