[LTP] [PATCH] sched_football: fix false failures on many-CPU systems
Li Wang
wangli.ahau@gmail.com
Thu Apr 16 10:40:36 CEST 2026
Soma Das <somadas1@linux.ibm.com> wrote:
> Based on the feedback, here is what I plan to incorporate in v2:
>
> * Pin only defense threads (one per CPU), leave offense unpinned
>
> * Replace |get_numcpus()| with |tst_ncpus_available()| to handle
> offline CPUs
>
> * Drop the RT throttle disabling entirely - unnecessary once defense
> is pinned per CPU
>
> * Remove the |usleep()| / |tst_check_preempt_rt()| block after kickoff
>
> * Add |join_threads()| before |pthread_barrier_destroy()| for clean
> |-i N| reruns (thanks Jan for catching this)
>
> * Split into separate patches - at minimum fixes #3 and #4 will be
> separate
>
> * Update commit message to clarify the test now verifies per-CPU
> SCHED_FIFO priority ordering
Generally that's my expected revision, but I would suggest you wait for
John's reply to see if he has other suggestions.
(John is an expert in schedulers :)
But you can test the v2 on your side and feedback here firstly.
--
Regards,
Li Wang
More information about the ltp
mailing list