From: Jonathan Corbet <corbet@lwn.net>
To: Matteo Martelli <matteo.martelli@codethink.co.uk>,
Shuah Khan <skhan@linuxfoundation.org>,
Shashank Balaji <shashank.mahadasyam@sony.com>,
Juri Lelli <juri.lelli@redhat.com>
Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org,
Matteo Martelli <matteo.martelli@codethink.co.uk>
Subject: Re: [PATCH] sched_deadline, docs: fix cpuset example for cgroupv2
Date: Tue, 03 Mar 2026 10:59:53 -0700 [thread overview]
Message-ID: <87bjh4bxpi.fsf@trenco.lwn.net> (raw)
In-Reply-To: <20260223-docs-sched-deadline-fix-example-v1-1-8d0bedc2bc6f@codethink.co.uk>
Matteo Martelli <matteo.martelli@codethink.co.uk> writes:
> Documenation/scheduler/sched-deadline.rst provides two examples for how
> to setup cgroup and cpuset for deadline tasks: one for cgroup v1 and one
> cgroup v2. The code block in the latter is not properly html rendered as
> the :: marker is missing.
>
> Add the :: marker before the code block for the cgroup v2 example to fix
> html rendering.
>
> Also make the example description more explicit for better clarity.
>
> Fixes: 0116765035eb ("sched_deadline, docs: add affinity setting with cgroup2 cpuset controller")
> Signed-off-by: Matteo Martelli <matteo.martelli@codethink.co.uk>
> ---
> Documentation/scheduler/sched-deadline.rst | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/Documentation/scheduler/sched-deadline.rst b/Documentation/scheduler/sched-deadline.rst
> index ec543a12f848..d23e4afe1a9a 100644
> --- a/Documentation/scheduler/sched-deadline.rst
> +++ b/Documentation/scheduler/sched-deadline.rst
> @@ -700,7 +700,8 @@ Deadline Task Scheduling
> 5.2 Using cgroup v2 cpuset controller
> -------------------------------------
>
> - Assuming the cgroup v2 root is mounted at ``/sys/fs/cgroup``.
> + Assuming the cgroup v2 root is mounted at ``/sys/fs/cgroup``, an example of a
> + simple configuration (pin a -deadline task to CPU0) follows::
>
> cd /sys/fs/cgroup
> echo '+cpuset' > cgroup.subtree_control
Applied, thanks.
jon
prev parent reply other threads:[~2026-03-03 17:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-02-23 13:05 [PATCH] sched_deadline, docs: fix cpuset example for cgroupv2 Matteo Martelli
2026-03-03 17:59 ` Jonathan Corbet [this message]
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=87bjh4bxpi.fsf@trenco.lwn.net \
--to=corbet@lwn.net \
--cc=juri.lelli@redhat.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=matteo.martelli@codethink.co.uk \
--cc=shashank.mahadasyam@sony.com \
--cc=skhan@linuxfoundation.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox