[LTP] [PATCH] sched_football: synchronize with kickoff flag to reduce skew

Petr Vorel pvorel@suse.cz
Thu Sep 4 11:48:42 CEST 2025


Hi Li,

...
>  static void do_setup(void)
>  {
> +	if (!tst_check_preempt_rt())
> +		tst_brk(TCONF, "Test requires real-time kernel");

I guess this itself fix many false positives :). I'm ok with requesting RT
kernel, but just to remind the claim originated from Cyril [1] "sched_football
is useful not only for testing realtime". So was Cyril wrong?

(I'm ok to keep the test in runtest/sched even requesting RT kernel, because
runtest/sched and other LTP tests are run on both RT and non-RT.

The rest LGTM, thanks for stabilising the test.

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

[1] https://github.com/linux-test-project/ltp/commit/3a8e38fc2c46c886525bbb708dff462c6b633d32


More information about the ltp mailing list