Linux Documentation
 help / color / mirror / Atom feed
From: Guopeng Zhang <guopeng.zhang@linux.dev>
To: longman@redhat.com, tj@kernel.org, corbet@lwn.net
Cc: ridong.chen@linux.dev, hannes@cmpxchg.org, mkoutny@suse.com,
	skhan@linuxfoundation.org, rdunlap@infradead.org,
	cgroups@vger.kernel.org, linux-doc@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Guopeng Zhang <zhangguopeng@kylinos.cn>
Subject: [PATCH 2/2] docs: cgroup-v2: Document the housekeeping CPU requirement
Date: Thu, 26 Nov 2026 13:52:06 +0800	[thread overview]
Message-ID: <20261126055206.251724-3-guopeng.zhang@linux.dev> (raw)
In-Reply-To: <20261126055206.251724-1-guopeng.zhang@linux.dev>

From: Guopeng Zhang <zhangguopeng@kylinos.cn>

The cpuset.cpus.partition documentation does not describe the
housekeeping CPU requirement for isolated partitions.

When full dynticks is enabled, changes to the isolated partition
configuration must leave at least one active CPU available for
housekeeping.

Signed-off-by: Guopeng Zhang <zhangguopeng@kylinos.cn>
---
 Documentation/admin-guide/cgroup-v2.rst | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/Documentation/admin-guide/cgroup-v2.rst b/Documentation/admin-guide/cgroup-v2.rst
index 2f792ff29425..36199da5c842 100644
--- a/Documentation/admin-guide/cgroup-v2.rst
+++ b/Documentation/admin-guide/cgroup-v2.rst
@@ -2838,6 +2838,13 @@ Cpuset Interface Files
 	kernel boot command line option.  If those CPUs are to be put
 	into a partition, they have to be used in an isolated partition.
 
+	In addition to the CPU 0 restriction above, when full dynticks is
+	enabled with "nohz_full=" or the "nohz" flag of "isolcpus=", the
+	isolated partition configuration must leave at least one active CPU
+	available for housekeeping. This CPU must be outside the full-dynticks
+	CPU set, the CPUs isolated at boot using the "domain" flag of
+	"isolcpus=", and the CPUs in all isolated partitions.
+
 
 Device controller
 -----------------
-- 
2.43.0


      parent reply	other threads:[~2026-11-26  5:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26  5:52 [PATCH 0/2] docs: cgroup: Clarify cpuset CPU isolation Guopeng Zhang
2026-11-26  5:52 ` [PATCH 1/2] docs: cgroup-v1: Fix the isolcpus description Guopeng Zhang
2026-11-26  5:52 ` Guopeng Zhang [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=20261126055206.251724-3-guopeng.zhang@linux.dev \
    --to=guopeng.zhang@linux.dev \
    --cc=cgroups@vger.kernel.org \
    --cc=corbet@lwn.net \
    --cc=hannes@cmpxchg.org \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=longman@redhat.com \
    --cc=mkoutny@suse.com \
    --cc=rdunlap@infradead.org \
    --cc=ridong.chen@linux.dev \
    --cc=skhan@linuxfoundation.org \
    --cc=tj@kernel.org \
    --cc=zhangguopeng@kylinos.cn \
    /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