summaryrefslogtreecommitdiff
path: root/samples/bpf/test_current_task_under_cgroup_user.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2020-11-24 13:12:13 -0800
committerPaul E. McKenney <paulmck@kernel.org>2021-01-04 14:01:22 -0800
commit22bf64cc94832a3b047a1412a4ad0f7d9bd6cd8b (patch)
treec681d2e6617663301f73d512f40915126ed99edf /samples/bpf/test_current_task_under_cgroup_user.c
parent23239fc075d60a942101227c42353b5ced804269 (diff)
torture: Make kvm.sh include --kconfig arguments in CPU calculation
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: Paul E. McKenney <paulmck@kernel.org>
Diffstat (limited to 'samples/bpf/test_current_task_under_cgroup_user.c')
0 files changed, 0 insertions, 0 deletions