]> www.infradead.org Git - users/willy/xarray.git/commit
selftests/sched_ext: Add test for scx_bpf_select_cpu_and()
authorAndrea Righi <arighi@nvidia.com>
Sat, 5 Apr 2025 13:39:25 +0000 (15:39 +0200)
committerTejun Heo <tj@kernel.org>
Mon, 7 Apr 2025 17:13:52 +0000 (07:13 -1000)
commit01d541baedd74530831c8c98b946622cb7487f30
treeed071a5a1833bc627204e729a38f6b1abc89cf82
parent683d2d0faba12a0e7d4c3b85a62ac8298977e17b
selftests/sched_ext: Add test for scx_bpf_select_cpu_and()

Add a selftest to validate the behavior of the built-in idle CPU
selection policy applied to a subset of allowed CPUs, using
scx_bpf_select_cpu_and().

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/sched_ext/Makefile
tools/testing/selftests/sched_ext/allowed_cpus.bpf.c [new file with mode: 0644]
tools/testing/selftests/sched_ext/allowed_cpus.c [new file with mode: 0644]