public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Alessandro Carminati <acarmina@redhat.com>
Cc: Alessandro Carminati <alessandro.carminati@gmail.com>,
	ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] cfs-scheduler/starvation.c: Skip test on realtime kernels
Date: Fri, 24 Jan 2025 12:58:34 +0100	[thread overview]
Message-ID: <Z5OAagIzmhi3JVlQ@yuki.lan> (raw)
In-Reply-To: <20250121111909.66487-1-acarmina@redhat.com>

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

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

  parent reply	other threads:[~2025-01-24 11:59 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-21 11:19 [LTP] [PATCH v2] cfs-scheduler/starvation.c: Skip test on realtime kernels Alessandro Carminati
2025-01-21 12:07 ` Li Wang
2025-01-21 14:37 ` Petr Vorel
2025-01-24 11:58 ` Cyril Hrubis [this message]
2025-01-27  8:25   ` Alessandro Carminati

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Z5OAagIzmhi3JVlQ@yuki.lan \
    --to=chrubis@suse.cz \
    --cc=acarmina@redhat.com \
    --cc=alessandro.carminati@gmail.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox