public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] sched_football: isolcpus handling
@ 2025-01-17 13:57 Attila Fazekas
  2025-01-17 13:57 ` [LTP] [PATCH v2 1/2] lib: move get_numcpus to librttest.[ch] Attila Fazekas
  2025-01-17 13:57 ` [LTP] [PATCH v2 2/2] sched_football: use get_numcpus() Attila Fazekas
  0 siblings, 2 replies; 7+ messages in thread
From: Attila Fazekas @ 2025-01-17 13:57 UTC (permalink / raw)
  To: ltp; +Cc: Attila Fazekas

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-01-23 11:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-17 13:57 [LTP] [PATCH v2 0/2] sched_football: isolcpus handling Attila Fazekas
2025-01-17 13:57 ` [LTP] [PATCH v2 1/2] lib: move get_numcpus to librttest.[ch] Attila Fazekas
2025-01-17 16:17   ` Cyril Hrubis
2025-01-17 13:57 ` [LTP] [PATCH v2 2/2] sched_football: use get_numcpus() Attila Fazekas
2025-01-17 16:18   ` Cyril Hrubis
2025-01-21  9:15     ` Petr Vorel
2025-01-23 11:21       ` Attila Fazekas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox