[LTP] [PATCH v2 0/2] sched_football: isolcpus handling

Attila Fazekas afazekas@redhat.com
Fri Jan 17 14:57:43 CET 2025


sched_football expects each player thread is scheduleable
to all of the physical CPU threads, however for example
when you are using isolcpus by default you threads are
not scheduled to some CPU. It leads to the test hangs.
591c56b045b2d44a0f4ba1a13545420b23e909b5 solved was a 
similar issue in realtime/prio-preempt .

Attila Fazekas (2):
  lib: move get_numcpus to librttest.[ch]
  sched_football: use get_numcpus()

 testcases/realtime/func/prio-preempt/prio-preempt.c | 13 -------------
 .../realtime/func/sched_football/sched_football.c   |  2 +-
 testcases/realtime/include/librttest.h              |  4 ++++
 testcases/realtime/lib/librttest.c                  | 13 +++++++++++++
 4 files changed, 18 insertions(+), 14 deletions(-)

-- 
2.47.1



More information about the ltp mailing list