From: Petr Vorel <pvorel@suse.cz>
To: Cyril Hrubis <chrubis@suse.cz>
Cc: ltp@lists.linux.it
Subject: Re: [LTP] [PATCH] sched: add sched sysctl sanity test
Date: Fri, 1 Sep 2023 19:48:15 +0200 [thread overview]
Message-ID: <20230901174815.GA390265@pevik> (raw)
In-Reply-To: <20230901144433.2526-1-chrubis@suse.cz>
Hi Cyril,
...
> +++ b/testcases/kernel/sched/sysctl/proc_sched_rt01.c
> @@ -0,0 +1,115 @@
> +// SPDX-License-Identifier: GPL-2.0-or-later
> +/*
> + * Copyright (C) Cyril Hrubis <chrubis@suse.cz>
> + */
> +
> +/*\
> + * [Description]
> + *
> + * Sanity tests for the /proc/sys/kernel/sched_r* files.
> + *
> + * - The sched_rt_period_us range is 1 to INT_MAX
> + * try invalid values and check for EINVAL
> + *
> + * - The sched_rt_runtime_us range is -1 to INT_MAX
> + * try invalid values and check for EINVAL
As I wrote to the kernel patch, Documentation/scheduller/sched-rt-group.rst [1]
specifies this as values from -1 to (INT_MAX - 1).
Kind regards,
Petr
[1] https://www.kernel.org/doc/html/latest/scheduler/sched-rt-group.html#system-wide-settings
--
Mailing list info: https://lists.linux.it/listinfo/ltp
next prev parent reply other threads:[~2023-09-01 17:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-01 14:44 [LTP] [PATCH] sched: add sched sysctl sanity test Cyril Hrubis
2023-09-01 15:53 ` Cyril Hrubis
2023-09-01 16:15 ` Petr Vorel
2023-09-01 17:48 ` Petr Vorel [this message]
2023-10-02 8:26 ` Richard Palethorpe
2023-10-02 11:09 ` Cyril Hrubis
2023-10-03 8:18 ` Richard Palethorpe
2023-10-03 8:54 ` Cyril Hrubis
2023-10-04 9:22 ` Richard Palethorpe
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=20230901174815.GA390265@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.