linux-stable/tools/testing/selftests/rcutorture
Paul E. McKenney b22eb7cefb torture: Hoist calls to lscpu to higher-level kvm.sh script
On some kernels, concurrent calls to the lscpu command result in severe
slowdowns.  For example, on v4.16, a single lscpu invocation takes about
two milliseconds, four concurrent invocations more than two seconds,
and 16 concurrent invocations more than 20 seconds.  Given that the only
goal is to learn the number of CPUs, invoking lscpu but once suffices.
This commit therefore invokes lscpu early in kvm.sh execution, setting
the initial value of the TORTURE_ALLOTED_CPUS environment variable.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
2019-12-09 13:00:30 -08:00
..
bin torture: Hoist calls to lscpu to higher-level kvm.sh script 2019-12-09 13:00:30 -08:00
configs rcutorture: Remove CONFIG_HOTPLUG_CPU=n from scenarios 2019-10-05 11:49:13 -07:00
doc rcutorture: Remove CONFIG_HOTPLUG_CPU=n from scenarios 2019-10-05 11:49:13 -07:00
formal/srcu-cbmc block: remove CONFIG_LBDAF 2019-04-06 10:48:35 -06:00
.gitignore torture: Remove obsolete files from rcutorture .gitignore 2016-11-14 10:48:51 -08:00
Makefile rcutorture: Provide rudimentary Makefile 2019-05-28 09:06:09 -07:00