[LTP] [PATCH] sched_football: fix false failures on many-CPU systems

Li Wang wangli.ahau@gmail.com
Thu Apr 16 07:53:56 CEST 2026


> That's why I tend to believe disabling throttling for this specific test is the
> wise and practical approach.

However, back to the original patch, disabling throttling was
indeed a bit of an overprotection based on the pined method
(I didn't realize that before).

Once we go with pin 'defense' threads to every CPU, while leaving
the offense thread unpinned, this throttling can be kept enabled.

Whichever CPU gets unthrottled first will instantly execute its local
defensetask, completely starving the lower-priority offense task.

It relies on strict local preemption to perfectly mask the SMP sequential
unthrottling latency, fixing the test without needing to disable
sched_rt_runtime_us in the kernel.

-- 
Regards,
Li Wang


More information about the ltp mailing list