diff options
author | 2025-07-01 08:08:45 +0200 | |
---|---|---|
committer | 2025-07-03 06:44:13 -1000 | |
commit | 7980ad7e4ca80f6c255f4473fba82a475342035a (patch) | |
tree | d1ba97b3d1c8a364727a663aaa624512390a967e /rust/pin-init/internal/src | |
parent | sched_ext, sched/core: Don't call scx_group_set_weight() prematurely from sched_create_group() (diff) | |
download | wireguard-linux-7980ad7e4ca80f6c255f4473fba82a475342035a.tar.xz wireguard-linux-7980ad7e4ca80f6c255f4473fba82a475342035a.zip |
selftests/sched_ext: Fix exit selftest hang on UP
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: a5db7817af780 ("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>
Diffstat (limited to 'rust/pin-init/internal/src')
0 files changed, 0 insertions, 0 deletions