selftests/sched_ext: Fix exit selftest hang on UP
[ Upstream commit 7980ad7e ] On single-CPU systems, ops.select_cpu() is never called, causing the EXIT_SELECT_CPU test case to wait indefinitely. Avoid the stall by skipping this specific sub-test when only one CPU is available. Reported-by:Phil Auld <pauld@redhat.com> Fixes: a5db7817 ("sched_ext: Add selftests") Signed-off-by:
Andrea Righi <arighi@nvidia.com> Reviewed-by:
Phil Auld <pauld@redhat.com> Tested-by:
Phil Auld <pauld@redhat.com> Signed-off-by:
Tejun Heo <tj@kernel.org> Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment