From: Andrea Righi <arighi@nvidia.com>
To: Christian Loehle <christian.loehle@arm.com>
Cc: tj@kernel.org, corbet@lwn.net, linux-kernel@vger.kernel.org,
linux-doc@vger.kernel.org
Subject: Re: [PATCH] sched_ext: Documentation: Mention scheduling class precedence
Date: Fri, 6 Mar 2026 15:17:54 +0100 [thread overview]
Message-ID: <aariEvEhRfA_PB5H@gpd4> (raw)
In-Reply-To: <20260306103051.1038604-1-christian.loehle@arm.com>
On Fri, Mar 06, 2026 at 10:30:51AM +0000, Christian Loehle wrote:
> Mention the scheduling class precedence of fair and sched_ext to
> clear up how sched_ext partial mode works.
>
> Signed-off-by: Christian Loehle <christian.loehle@arm.com>
Agreed, clarifying fair scheduling precedence here can help better
understand the implications of partial mode.
Acked-by: Andrea Righi <arighi@nvidia.com>
Thanks,
-Andrea
> ---
> Documentation/scheduler/sched-ext.rst | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/scheduler/sched-ext.rst b/Documentation/scheduler/sched-ext.rst
> index 9e2882d937b4..100d45963781 100644
> --- a/Documentation/scheduler/sched-ext.rst
> +++ b/Documentation/scheduler/sched-ext.rst
> @@ -58,7 +58,8 @@ in ``ops->flags``, all ``SCHED_NORMAL``, ``SCHED_BATCH``, ``SCHED_IDLE``, and
> However, when the BPF scheduler is loaded and ``SCX_OPS_SWITCH_PARTIAL`` is
> set in ``ops->flags``, only tasks with the ``SCHED_EXT`` policy are scheduled
> by sched_ext, while tasks with ``SCHED_NORMAL``, ``SCHED_BATCH`` and
> -``SCHED_IDLE`` policies are scheduled by the fair-class scheduler.
> +``SCHED_IDLE`` policies are scheduled by the fair-class scheduler which has
> +higher sched_class precedence than ``SCHED_EXT``.
>
> Terminating the sched_ext scheduler program, triggering `SysRq-S`, or
> detection of any internal error including stalled runnable tasks aborts the
> --
> 2.34.1
>
next prev parent reply other threads:[~2026-03-06 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-06 10:30 [PATCH] sched_ext: Documentation: Mention scheduling class precedence Christian Loehle
2026-03-06 14:17 ` Andrea Righi [this message]
2026-03-06 16:35 ` Tejun Heo
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=aariEvEhRfA_PB5H@gpd4 \
--to=arighi@nvidia.com \
--cc=christian.loehle@arm.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tj@kernel.org \
/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.