torture: Add --allcpus argument to the kvm.sh script
authorPaul E. McKenney <paulmck@kernel.org>
Mon, 4 May 2020 23:41:53 +0000 (16:41 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Mon, 29 Jun 2020 19:01:44 +0000 (12:01 -0700)
commita3ba4972f2ef8408dcc8a2a3d433621d6c990594
treec808c3fdd0ee3c4d060ab2689b7fdcc3d579dc50
parentd3cb26312ecfdb4ee8dedf931e24e60df1d7fbc9
torture: Add --allcpus argument to the kvm.sh script

Leaving off the kvm.sh script's --cpus argument results in the script
testing the scenarios sequentially, which can be quite slow.  However,
having to specify the actual number of CPUs can be error-prone.
This commit therefore adds a --allcpus argument that causes kvm.sh to
use all available CPUs.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
tools/testing/selftests/rcutorture/bin/kvm.sh