rcutorture: Separate warnings for each failure type
authorPaul E. McKenney <paulmck@kernel.org>
Wed, 14 Aug 2019 19:02:40 +0000 (12:02 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Sat, 5 Oct 2019 18:50:03 +0000 (11:50 -0700)
commit8b5ddf8b99dc42241d1d413c6685bce18275c40e
tree4ef1c7d7550c4d138cf223624aec068cc66f0cb4
parentb3ffb206ddd7f07d83bafd10e1b403df57055af4
rcutorture: Separate warnings for each failure type

Currently, each of six different types of failure triggers a
single WARN_ON_ONCE(), and it is then necessary to stare at the
rcu_torture_stats(), Reader Pipe, and Reader Batch lines looking for
inappropriately non-zero values.  This can be annoying and error-prone,
so this commit provides a separate WARN_ON_ONCE() for each of the
six error conditions and adds short comments to each to ease error
identification.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
kernel/rcu/rcutorture.c