Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpuset, isolcpus: document relationship between cpusets & isolcpus

Document the subtly changed relationship between cpusets and isolcpus.
Turns out the old documentation did not match the code...

Signed-off-by: Rik van Riel <riel@redhat.com>
Suggested-by: Peter Zijlstra <peterz@infradead.org>
Acked-by: Zefan Li <lizefan@huawei.com>
Signed-off-by: Tejun Heo <tj@kernel.org>

authored by

Rik van Riel and committed by
Tejun Heo
34ebe933 47b8ea71

+8 -2
+8 -2
Documentation/cgroups/cpusets.txt
··· 392 392 than one big one, but doing so means that overloads in one of the 393 393 two domains won't be load balanced to the other one. 394 394 395 - By default, there is one sched domain covering all CPUs, except those 396 - marked isolated using the kernel boot time "isolcpus=" argument. 395 + By default, there is one sched domain covering all CPUs, including those 396 + marked isolated using the kernel boot time "isolcpus=" argument. However, 397 + the isolated CPUs will not participate in load balancing, and will not 398 + have tasks running on them unless explicitly assigned. 397 399 398 400 This default load balancing across all CPUs is not well suited for 399 401 the following two situations: ··· 466 464 such partially load balanced cpusets, as they may be artificially 467 465 constrained to some subset of the CPUs allowed to them, for lack of 468 466 load balancing to the other CPUs. 467 + 468 + CPUs in "cpuset.isolcpus" were excluded from load balancing by the 469 + isolcpus= kernel boot option, and will never be load balanced regardless 470 + of the value of "cpuset.sched_load_balance" in any cpuset. 469 471 470 472 1.7.1 sched_load_balance implementation details. 471 473 ------------------------------------------------