torture: Use numeric taskset argument in jitter.sh
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 8 Jul 2021 18:02:14 +0000 (11:02 -0700)
committerPaul E. McKenney <paulmck@kernel.org>
Tue, 27 Jul 2021 18:41:32 +0000 (11:41 -0700)
commit4567c76a8e45af6b5015b17ea1d1a62af1257cc4
tree2febf31b95a7adc4b2f0251d34e5d10c6ad913ba
parentde2909461c1a663ab6554493344271e1fad4ecb2
torture: Use numeric taskset argument in jitter.sh

The jitter.sh script has some entertaining awk code to generate a
hex mask from a randomly selected CPU number, which is handed to the
"taskset" command.  Except that this command has a "-c" parameter to
take a comma/dash-separated list of CPU numbers.  This commit therefore
saves a few lines of awk by switching to a single-number CPU list.

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