From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH v2] sched: add sched sysctl sanity test
Date: Wed, 10 Jan 2024 13:26:30 +0100 [thread overview]
Message-ID: <20240110122630.GA1698252@pevik> (raw)
In-Reply-To: <ZZ54308dqXEv3OBI@yuki>
> 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.
IMHO it's a fix of broken functionality. And Greg stated several times that
stable is not only for security fixes but for other fixes. Therefore I would
vote for adding it.
> > > - 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.
I don't like formatting after "This is a regression test for a commits:".
It formates like code block (gray background) via using <pre>...</pre> HTML
tags:
commit c1fc6484e1fb7cc2481d169bfef129a1b0676abe
Author: Cyril Hrubis <chrubis@suse.cz>
Date: Wed Aug 2 17:19:06 2023 +0200
sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset
commit 079be8fc630943d9fc70a97807feb73d169ee3fc
Author: Cyril Hrubis <chrubis@suse.cz>
Date: Mon Oct 2 13:55:51 2023 +0200
sched/rt: Disallow writing invalid values to sched_rt_period_us
(see a real output in metadata.html)
Given we have this in the Tag table below, I found it useless. I mean, we could
have it, but not in docparse comment /*\ ... */, but in normal C comment /* ... */
(for reader of the C source, but not in docparse format). Or, if we want to have
it in docparse output, we could format it as:
/*\
...
* This is a regression test for a commits:
* * c1fc6484e1fb ("sched/rt: sysctl_sched_rr_timeslice show default timeslice after reset")
* * 079be8fc6309 ("sched/rt: Disallow writing invalid values to sched_rt_period_us")
This is not unique to this commit, we don't have to solve it now (and it's
definitely a blocker for this patch). But it would be good to find a consensus
how the output should look like.
Kind regards,
Petr
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2024-01-10 12:26 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
2024-01-10 12:26 ` Petr Vorel [this message]
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=20240110122630.GA1698252@pevik \
--to=pvorel@suse.cz \
--cc=chrubis@suse.cz \
--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 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.