torture: Make online/offline messages appear only for verbose=2
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 9 May 2018 17:29:18 +0000 (10:29 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 25 Jun 2018 18:30:10 +0000 (11:30 -0700)
commit90127d605f403d814f4986436871210bf8ceb335
tree283096cf088f6eddc31e9e8211ab322096e5d640
parentb4c1906f65cff3fbd1f3b7e08b3baa983e142756
torture: Make online/offline messages appear only for verbose=2

Some bugs reproduce quickly only at high CPU-hotplug rates, so the
rcutorture TREE03 scenario now has only 200 milliseconds spacing between
CPU-hotplug operations.  At this rate, the torture-test pair of console
messages per operation becomes a bit voluminous.  This commit therefore
converts the torture-test set of "verbose" kernel-boot arguments from
bool to int, and prints the extra console messages only when verbose=2.
The default is still verbose=1.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
include/linux/torture.h
kernel/locking/locktorture.c
kernel/rcu/rcuperf.c
kernel/rcu/rcutorture.c
kernel/torture.c