All of lore.kernel.org
 help / color / mirror / Atom feed
From: Cyril Hrubis <chrubis@suse.cz>
To: Petr Vorel <petr.vorel@gmail.com>
Cc: chrubis@suse.com, pvorel@suse.com, ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] sched: add sched sysctl sanity test
Date: Wed, 10 Jan 2024 12:00:47 +0100	[thread overview]
Message-ID: <ZZ54308dqXEv3OBI@yuki> (raw)
In-Reply-To: <20240109192444.GA1670891@pevik>

Hi!
> It looks like the second fix 079be8fc6309 ("sched/rt: Disallow writing invalid
> values to sched_rt_period_us") is not in stable, shouldn't be there?

No idea to be honest, the second fix about rejecting invalid values is a
minor fix.

> > - Fixed a few whitespaces
> > - Added second kernel commit into metadata
> nit: metadata of the git commit looks ugly, but we would need to agree on better
> solution.

Which metadata exactly? This part is after the scisors and will be cut
when the patch is applied.

> >  runtest/sched                                 |   2 +
> >  testcases/kernel/sched/sysctl/.gitignore      |   1 +
> >  testcases/kernel/sched/sysctl/Makefile        |   7 +
> >  .../kernel/sched/sysctl/proc_sched_rt01.c     | 122 ++++++++++++++++++
> >  4 files changed, 132 insertions(+)
> >  create mode 100644 testcases/kernel/sched/sysctl/.gitignore
> >  create mode 100644 testcases/kernel/sched/sysctl/Makefile
> >  create mode 100644 testcases/kernel/sched/sysctl/proc_sched_rt01.c
> 
> > diff --git a/runtest/sched b/runtest/sched
> > index 172fe4174..3457114f4 100644
> > --- a/runtest/sched
> > +++ b/runtest/sched
> > @@ -16,3 +16,5 @@ sched_cli_serv run_sched_cliserv.sh
> >  sched_stress sched_stress.sh
> 
> >  autogroup01 autogroup01
> > +
> > +proc_sched_rt01
> 
> This should obviously be:
> proc_sched_rt01 proc_sched_rt01
> 
> And I would move it above sched_stress.sh.

Goot catch, will fix.

> The rest LGTM, thanks!
> Reviewed-by: Petr Vorel <pvorel@suse.cz>

-- 
Cyril Hrubis
chrubis@suse.cz

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

  reply	other threads:[~2024-01-10 11:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 12:51 [LTP] [PATCH v2] sched: add sched sysctl sanity test Cyril Hrubis
2023-10-31 13:08 ` Cyril Hrubis
2023-12-08 15:21 ` Cyril Hrubis
2024-01-09 19:24 ` Petr Vorel
2024-01-10 11:00   ` Cyril Hrubis [this message]
2024-01-10 12:26     ` Petr Vorel
2024-01-17 13:22   ` Cyril Hrubis

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=ZZ54308dqXEv3OBI@yuki \
    --to=chrubis@suse.cz \
    --cc=chrubis@suse.com \
    --cc=ltp@lists.linux.it \
    --cc=petr.vorel@gmail.com \
    --cc=pvorel@suse.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.