[LTP] [PATCH v2] cfs-scheduler/starvation.c: Skip test on realtime kernels

Alessandro Carminati acarmina@redhat.com
Mon Jan 27 09:25:07 CET 2025


Hello Cyril,
Thanks for the feedback.

On Fri, Jan 24, 2025 at 12:58 PM Cyril Hrubis <chrubis@suse.cz> wrote:
>
> Hi!
> > +int tst_check_preempt_rt(void)
> > +{
> > +     struct utsname uval;
> > +
> > +     uname(&uval);
> > +     if (strstr(uval.version, "PREEMPT_RT"))
> > +             return -1;
>
> Maybe just return 1; here instead.

Fixing in v3 that will follow in a few minutes.

>
> Otherwise:
>
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
>
> --
> Cyril Hrubis
> chrubis@suse.cz
>

-- 
---
Thanks
Alessandro
172



More information about the ltp mailing list