diff options
author | Paul E. McKenney <paulmck@kernel.org> | 2024-01-03 10:59:25 -0800 |
---|---|---|
committer | Boqun Feng <boqun.feng@gmail.com> | 2024-02-14 08:00:57 -0800 |
commit | fd2a749d3f4f7ff0129af1a2c2685faca407ea54 (patch) | |
tree | 7d24676d39d06fc42b40f8a7d48a063acb24fa25 /kernel/trace/trace_boot.c | |
parent | 67050837ec14fc20a26b237ce965c50c85a318b7 (diff) |
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>
Diffstat (limited to 'kernel/trace/trace_boot.c')
0 files changed, 0 insertions, 0 deletions