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

Cyril Hrubis chrubis@suse.cz
Fri Jan 24 12:58:34 CET 2025


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.

Otherwise:

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

-- 
Cyril Hrubis
chrubis@suse.cz


More information about the ltp mailing list