From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=91.218.175.55 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1795672352; b=g5saB4hmFmGbBjdE/16bqiJsdP1uentWKy9y3IrBf6c3deIqi4Hbt0hp97v3STnOY+RO 5cz2Av/w6xGhmy62zAbUmf0fAXYjGRiOf8Z+QGMZJ2/aoKVMUOtdX07ALP19D7IWkLzK2 s2qtyio6sQFsg5R7T3YdMtrsoqxquKUgJFnk6FgA3Z/G9NWaQlSJn9C0iRA8V8tVRou+V UEbM6CYFzesGkwh14ZNXfOkhcPcpvFJ5vXqQC5fI+LqOjgBIycv2r4XM2l1OTRLRfyvDz yNhr/SMoMg4XQ6HCGRYJWRB+u8vQRxxFuKU/VQ1YtMNXDJvukX7hQcRvDAB88LfSdgg== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1795672352; h=DMARC-Filter:X-Envelope-To:DKIM-Signature:X-Envelope-To:Received: X-Mizu-Trace-ID:X-Migadu-Flow:From:To:Cc:Subject:Date:Message-ID: X-Mailer:In-Reply-To:References:MIME-Version: Content-Transfer-Encoding; bh=zVuXwTyscVbFZi1wkQQAp7eD1hXL+dltypOcVIhVGZk=; b=y1m7U+oSrFuC6zhbK+MKn1gctrCA7TvoxHmGCmw+aAQxiYyUm7lz3sKkqgztcEdT4mH/ Yo5IcjcsPZVzwcHFSDVn63N4BubKJcYqhW5d+6bEP6EXyVj21z86S0Xss5q/IEhU1nw1N PrPktr8juA5ie+/2d+aiFwqDiMnwteMLFPmOezXB9buGJEvplBp6ZLX28s6DMydkv8wzC gGN08H88BRH9N0Kj9E9M/aFguCYP0q8FchC5IVANGhMNBLx009W0ccoT8VEaOYGZMcHiU qLB1FWqSTjx5zFITiiMXnJr8a8f95EQngWQ0+ZbnC8I3zTMLRjw1ODmxPZoMaDu8cwQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=ONqKK8bn; arc=none smtp.remote-ip=91.218.175.55 Received: from mta0.migadu.com (out-55.mta0.migadu.com [91.218.175.55]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 24415606A31E for ; Thu, 26 Nov 2026 05:52:31 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org 24415606A31E Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key, unprotected) header.d=linux.dev header.i=@linux.dev header.a=rsa-sha256 header.s=key1 header.b=ONqKK8bn X-Envelope-To: linux-kernel@vger.kernel.org DKIM-Signature: a=rsa-sha256; bh=baszU1mgchieKqc/JGnZXd/YJ5gRMUsdHJjPpVJvFZQ=; c=simple/simple; d=linux.dev; h=from:to:subject:date:message-id:mime-version:content-type; s=key1; t=1795672350; v=1; x=1796277150; b=ONqKK8bnNeEeOmHKGj56U3mdVSBU+8GghiKcwoXAxpubEhdYvizLQmfoNer1jkFMlSWRzT78 gDCBhHwRkpWuxwLZHYoWpnT7j9nv9rrqVRr/gfiEPUohm/WS9F1GFJk90IAmXTuxIxrtlDzjClL JI2DYGnPFlpxSgB+HoZVYTYc= X-Envelope-To: linux-kernel@vger.kernel.org Received: by smtp.migadu.com with ESMTPS id b5932c74b5b5b20e; Thu, 26 Nov 2026 05:52:30 +0000 X-Mizu-Trace-ID: b5932c74b5b5b20e X-Migadu-Flow: FLOW_OUT From: Guopeng Zhang 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 Subject: [PATCH 1/2] docs: cgroup-v1: Fix the isolcpus description Date: Thu, 26 Nov 2026 13:52:05 +0800 Message-ID: <20261126055206.251724-2-guopeng.zhang@linux.dev> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20261126055206.251724-1-guopeng.zhang@linux.dev> References: <20261126055206.251724-1-guopeng.zhang@linux.dev> X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Guopeng Zhang 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 --- 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