torture: Auto-size SCF and scaling runs based on number of CPUs
authorPaul E. McKenney <paulmck@kernel.org>
Tue, 24 Nov 2020 20:42:28 +0000 (12:42 -0800)
committerPaul E. McKenney <paulmck@kernel.org>
Thu, 7 Jan 2021 01:03:41 +0000 (17:03 -0800)
commit69d2b33e3f2077c57c20a3b718931746cb3a6094
tree97025453a4b8c25b789903176508a67033f6e512
parenta115a775a8d51c51c8c0b89649646a0e15a4978e
torture: Auto-size SCF and scaling runs based on number of CPUs

This commit improves torture.sh flexibility by autoscaling the number
of CPUs to be used in variable-CPUs torture tests, including scftorture,
refscale, rcuscale, and kvfree.

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