OSDN Git Service

rcutorture: Allow repetition factors in Kconfig-fragment lists
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Mon, 11 May 2015 20:55:47 +0000 (13:55 -0700)
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Wed, 27 May 2015 20:00:00 +0000 (13:00 -0700)
commit7d3bb54adeb13bb98badd86c24648d51ebe28331
treea651aa81d86bce352eb71175b01cfa0bad4b75c2
parent8ba8b664d4e43abf6bd896f3f614c8eb22384635
rcutorture: Allow repetition factors in Kconfig-fragment lists

Although it is currently possible to run the same test in parallel,
'--config "TINY01 TINY01 TINY01"' can get a bit verbose, especially
if you want to run 48 instances of TINY01 in parallel.  This commit
therefore allows prefixing the Kconfig fragment with a repeat count,
for example, '--config "48*TINY01"' to run 48 instances in parallel.
At least assuming that you have 48 CPUs and also gave '--cpus 48'.

Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
tools/testing/selftests/rcutorture/bin/kvm.sh