]> www.infradead.org Git - users/jedix/linux-maple.git/commit
selftests/sched_ext: Add test for scx_bpf_select_cpu_and() via test_run
authorAndrea Righi <arighi@nvidia.com>
Thu, 15 May 2025 19:11:45 +0000 (21:11 +0200)
committerTejun Heo <tj@kernel.org>
Tue, 20 May 2025 20:24:17 +0000 (10:24 -1000)
commite764295a270ce733820681bada131238ab2eb81b
treeb850aa2e78dc20b1e0a7a8ce9781e8808f0d50a6
parent4ac760bdf2b666a11ac66460bbc83c63bc9b1797
selftests/sched_ext: Add test for scx_bpf_select_cpu_and() via test_run

Update the allowed_cpus selftest to include a check to validate the
behavior of scx_bpf_select_cpu_and() when invoked via a BPF test_run
call.

Signed-off-by: Andrea Righi <arighi@nvidia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
tools/testing/selftests/sched_ext/allowed_cpus.bpf.c
tools/testing/selftests/sched_ext/allowed_cpus.c