summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorMichal Blaszczyk <michalblk@google.com>2026-08-11 14:13:58 +0000
committerTejun Heo <tj@kernel.org>2026-08-14 12:32:23 -1000
commite72979d3264a87a6a2dfb44fe0f5723a17d2ef84 (patch)
tree818fa20af07c89e7ec10f4616be2ad96466ba939 /scripts/Makefile.thinlto
parent0e3a6e977c14b87861e5295ceff0b5141f017246 (diff)
downloadlinux-stable-e72979d3264a87a6a2dfb44fe0f5723a17d2ef84.tar.gz
linux-stable-e72979d3264a87a6a2dfb44fe0f5723a17d2ef84.zip
selftests/sched_ext: Fix flaky ddsp failure tests on busy systems
The ddsp_vtimelocal_fail and ddsp_bogus_dsq_fail tests skip calling scx_bpf_dsq_insert_vtime() if scx_bpf_pick_idle_cpu() fails to find an idle CPU (returns a negative error code). On loaded systems, this results in the tests skipping the very assertions they are meant to verify. Eliminate this flakiness by falling back to prev_cpu if no idle CPU is found, ensuring the illegal dispatch operations are unconditionally attempted and tested. Fixes: a5db7817af78 ("sched_ext: Add selftests") Signed-off-by: Michal Blaszczyk <michalblk@google.com> Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions