public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] syscalls/sched_rr_get_interval: Convert to docparse
Date: Fri, 15 Dec 2023 20:07:25 +0100	[thread overview]
Message-ID: <20231215190725.GA67360@pevik> (raw)
In-Reply-To: <20231031132756.12799-1-chrubis@suse.cz>

Hi Cyril,


> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
> ---
>  .../sched_rr_get_interval01.c                 | 19 +++++++++++++++---
>  .../sched_rr_get_interval02.c                 |  3 +++
>  .../sched_rr_get_interval03.c                 | 20 ++++++++++++-------
>  3 files changed, 32 insertions(+), 10 deletions(-)

> diff --git a/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01.c b/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01.c
> index 597de4665..520f44fe0 100644
> --- a/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01.c
> +++ b/testcases/kernel/syscalls/sched_rr_get_interval/sched_rr_get_interval01.c
> @@ -2,13 +2,26 @@
>  /*
>   * Copyright (c) Wipro Technologies Ltd, 2002.  All Rights Reserved.
>   *    AUTHOR		: Saji Kumar.V.R <saji.kumar@wipro.com>
> + */
> +/*\
> + * [Description]
>   *
>   * Gets round-robin time quantum by calling sched_rr_get_interval() and
>   * checks that the value is sane.
>   *
> - * It is also a regression test for kernel
> - * commit 975e155ed873 ("sched/rt: Show the 'sched_rr_timeslice' SCHED_RR
> - * timeslice tuning knob in milliseconds").
> + * It is also a regression test for:
> + *
> + *  commit 975e155ed8732cb81f55c021c441ae662dd040b5
> + *  Author: Shile Zhang <shile.zhang@nokia.com>
> + *  Date:   Sat Jan 28 22:00:49 2017 +0800
> + *
> + *    sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds
> + *
> + *  commit c7fcb99877f9f542c918509b2801065adcaf46fa
> + *  Author: Cyril Hrubis <chrubis@suse.cz>
> + *  Date:   Wed Aug 2 17:19:05 2023 +0200
> + *
> + *    sched/rt: Fix sysctl_sched_rr_timeslice intial value

I was going to merge, but this is really ugly formatting in html.

If the dates and authors are important, could this comment be inside normal
comments (e.g. info is in the sources, but not in docparse doc)? Because we have
that info in docs as linux-git tags.

Or, if this is not important, could we use just:

/*\
 * [Description]
....
 * It is also a regression test for:
 * * 975e155ed8732 ("sched/rt: Show the 'sched_rr_timeslice' SCHED_RR timeslice tuning knob in milliseconds")
 * * c7fcb99877f9f ("sched/rt: Fix sysctl_sched_rr_timeslice intial value")
 */

Also, for me would be instead of year enough just to add also kernel release to the hash.

Reviewed-by: Petr Vorel <pvorel@suse.cz>

Kind regards,
Petr

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

  parent reply	other threads:[~2023-12-15 19:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-31 13:27 [LTP] [PATCH] syscalls/sched_rr_get_interval: Convert to docparse Cyril Hrubis
2023-12-08 15:21 ` Cyril Hrubis
2023-12-11 21:02 ` Avinesh Kumar
2023-12-15 19:07 ` Petr Vorel [this message]
2024-01-04 15:29   ` Petr Vorel
2024-01-10 11:29   ` 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=20231215190725.GA67360@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox