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 1/2] docs: cgroup-v1: Fix the isolcpus description
Date: Thu, 26 Nov 2026 13:52:05 +0800	[thread overview]
Message-ID: <20261126055206.251724-2-guopeng.zhang@linux.dev> (raw)
In-Reply-To: <20261126055206.251724-1-guopeng.zhang@linux.dev>

From: Guopeng Zhang <zhangguopeng@kylinos.cn>

The sched_load_balance section incorrectly includes CPUs isolated
with the domain flag of isolcpus= in the default scheduling domain.
It also refers to a nonexistent cpuset.isolcpus file.

Correct both passages and clarify that domain is the default flag
of isolcpus=. The nohz and managed_irq flags do not by themselves
disable scheduler load balancing.

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

diff --git a/Documentation/admin-guide/cgroup-v1/cpusets.rst b/Documentation/admin-guide/cgroup-v1/cpusets.rst
index fb3fb6fa88cb..d47f96979988 100644
--- a/Documentation/admin-guide/cgroup-v1/cpusets.rst
+++ b/Documentation/admin-guide/cgroup-v1/cpusets.rst
@@ -398,10 +398,11 @@ Put simply, it costs less to balance between two smaller sched domains
 than one big one, but doing so means that overloads in one of the
 two domains won't be load balanced to the other one.
 
-By default, there is one sched domain covering all CPUs, including those
-marked isolated using the kernel boot time "isolcpus=" argument. However,
-the isolated CPUs will not participate in load balancing, and will not
-have tasks running on them unless explicitly assigned.
+By default, scheduler load balancing includes all online CPUs except
+those isolated with the "domain" flag of the "isolcpus=" boot option.
+This flag is implied if no flags are specified. The "nohz" and
+"managed_irq" flags do not by themselves disable scheduler load
+balancing.
 
 This default load balancing across all CPUs is not well suited for
 the following two situations:
@@ -474,9 +475,9 @@ such partially load balanced cpusets, as they may be artificially
 constrained to some subset of the CPUs allowed to them, for lack of
 load balancing to the other CPUs.
 
-CPUs in "cpuset.isolcpus" were excluded from load balancing by the
-isolcpus= kernel boot option, and will never be load balanced regardless
-of the value of "cpuset.sched_load_balance" in any cpuset.
+CPUs isolated with the "domain" flag of the "isolcpus=" boot option
+remain excluded from scheduler load balancing regardless of the value
+of "cpuset.sched_load_balance" in any cpuset.
 
 1.7.1 sched_load_balance implementation details.
 ------------------------------------------------
-- 
2.43.0


  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 ` Guopeng Zhang [this message]
2026-11-26  5:52 ` [PATCH 2/2] docs: cgroup-v2: Document the housekeeping CPU requirement Guopeng Zhang

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-2-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