• Paul E. McKenney's avatar
    torture: Make kvm.sh include --kconfig arguments in CPU calculation · 22bf64cc
    Paul E. McKenney authored
    Currently, passing something like "--kconfig CONFIG_NR_CPUS=2" to kvm.sh
    has no effect on scenario scheduling.  For scenarios that do not specify
    the number of CPUs, this can result in kvm.sh wastefully scheduling only
    one scenario at a time even when the --kconfig argument would allow
    a number to be run concurrently.  This commit therefore makes kvm.sh
    consider the --kconfig arguments when scheduling scenarios across the
    available CPUs.
    Signed-off-by: default avatarPaul E. McKenney <paulmck@kernel.org>
    22bf64cc
kvm.sh 16.2 KB