From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from ms.lwn.net (ms.lwn.net [45.79.88.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D2E2E23504B; Tue, 3 Mar 2026 17:59:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=45.79.88.28 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772560795; cv=none; b=DTHEaW+VjCYOK0+JEhddCM+dp8eMcSGd5PgHms+jgY8TVUdiSNX1xgLEtCld6ehYi6T86rd/Uj3ZnsZkQAz5Z5Y7P3+yntFRZql5DCJ5peP3MeT90xzm8DXdK1Q94Dp8OAzriApnqIGSH1eye1/xWFgNbGVqR+rQWEswQQORQqw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772560795; c=relaxed/simple; bh=ND3gldCRjWZIcza/nAkJbOWW+MGA7tpJFrnG91mVpSc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=eS9pqa9JimiXtpIYkvpD/siYph5+nFvods9lbtQ2ppMXxMdUtNNe2mmiBP1Wx9VK9Ac+qgSOr7lVfIAV3QOcjVStFeDttGopHaNdQSfZzotVXtkC9r+TznJ6UwqtmhVwbJRkpSfvGbqIn7fY8xVBUa9KSvhq0U8dOLv0Hreb/D0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net; spf=pass smtp.mailfrom=lwn.net; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b=U223NuIU; arc=none smtp.client-ip=45.79.88.28 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lwn.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lwn.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=lwn.net header.i=@lwn.net header.b="U223NuIU" DKIM-Filter: OpenDKIM Filter v2.11.0 ms.lwn.net 0BAAA40429 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lwn.net; s=20201203; t=1772560794; bh=rDBm5j8sC3GEDDtM8JDnIX4EAfJNZoCjCwK+g3cVkyo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=U223NuIUt1my0jwZuNY8/V+2c/SjeHCLGSMOHTxwTR9iu6Id/7AkQHnPznCotteaP 3Pm+RCV+UJhlgUzzbmCSUdJ46wnhAextIX6NvQFcDx50ioCBu3v/aIJdmXN1jxTVxw 5PFA2VQjOrg0oKvBUYHELIfh2luQb531rSgVCP/V07LLyh+gY6ksavX3JQE1B2pqrH djWTxDaSDMpQDahsqhCyNavYKZxPRLB6rsLVFAYvhEkKRHY1aDebTRHGlUggXDPSfk 87bwM1jhqxMmZt+0eetc0uLuEsARG+REGrFkaWDQ4WqbkLlGWJINCEhEVH07ZUuivW v2h1g3dPDoJmA== Received: from localhost (unknown [IPv6:2601:280:4600:27b::1fe]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (prime256v1) server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by ms.lwn.net (Postfix) with ESMTPSA id 0BAAA40429; Tue, 3 Mar 2026 17:59:53 +0000 (UTC) From: Jonathan Corbet To: Matteo Martelli , Shuah Khan , Shashank Balaji , Juri Lelli Cc: linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Matteo Martelli Subject: Re: [PATCH] sched_deadline, docs: fix cpuset example for cgroupv2 In-Reply-To: <20260223-docs-sched-deadline-fix-example-v1-1-8d0bedc2bc6f@codethink.co.uk> References: <20260223-docs-sched-deadline-fix-example-v1-1-8d0bedc2bc6f@codethink.co.uk> Date: Tue, 03 Mar 2026 10:59:53 -0700 Message-ID: <87bjh4bxpi.fsf@trenco.lwn.net> Precedence: bulk X-Mailing-List: linux-doc@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain Matteo Martelli 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 > --- > 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