Commit fd2a749
rcutorture: Suppress rtort_pipe_count warnings until after stalls
Currently, if rcu_torture_writer() sees fewer than ten grace periods
having elapsed during a call to stutter_wait() that actually waited,
the rtort_pipe_count warning is emitted. This has worked well for
a long time. Except that the rcutorture TREE07 scenario now does a
short-term 14-second RCU CPU stall, which can most definitely case
false-positive rtort_pipe_count warnings.
This commit therefore changes rcu_torture_writer() to compute the
full expected holdoff and stall duration, and to refuse to report any
rtort_pipe_count warnings until after all stalls have completed.
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Signed-off-by: Boqun Feng <boqun.feng@gmail.com>1 parent 6705083 commit fd2a749
1 file changed
+9
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1368 | 1368 | | |
1369 | 1369 | | |
1370 | 1370 | | |
| 1371 | + | |
1371 | 1372 | | |
1372 | 1373 | | |
1373 | 1374 | | |
| 1375 | + | |
| 1376 | + | |
| 1377 | + | |
1374 | 1378 | | |
1375 | 1379 | | |
1376 | 1380 | | |
| |||
1576 | 1580 | | |
1577 | 1581 | | |
1578 | 1582 | | |
1579 | | - | |
| 1583 | + | |
| 1584 | + | |
1580 | 1585 | | |
1581 | 1586 | | |
1582 | | - | |
1583 | | - | |
| 1587 | + | |
1584 | 1588 | | |
1585 | 1589 | | |
1586 | 1590 | | |
| |||
2441 | 2445 | | |
2442 | 2446 | | |
2443 | 2447 | | |
2444 | | - | |
| 2448 | + | |
| 2449 | + | |
2445 | 2450 | | |
2446 | 2451 | | |
2447 | 2452 | | |
| |||
0 commit comments