[LTP] [PATCH v3] cfs-scheduler/starvation.c: Skip test on realtime kernels
Petr Vorel
pvorel@suse.cz
Mon Jan 27 10:39:29 CET 2025
> This commit introduces a check in the starvation test case to detect and
> skip execution on realtime kernels. The test is designed for use with the
> Completely Fair Scheduler and produces meaningless results when run on
> realtime kernels.
> By skipping the test on realtime kernels, we avoid confusion caused by
> misleading results.
Thanks a lot for fixing -1 in v3. I was thinking to merge v2 and fix -1
manually, but I'm really not sure if the test is meaningless for realtime.
Was the test really written for CFS? It would be nice to get ack from any
realtime developer.
BTW test is working well on x86_64 SLES realtime kernel on VM, i.e. both you
want to skip (RT) or warn about unreliable results (VM). That of course
does not mean it's relevant for RT kernel.
Kind regards,
Petr
More information about the ltp
mailing list