diff options
author | Rik van Riel <riel@redhat.com> | 2015-03-09 12:12:10 -0400 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2015-03-19 14:28:20 -0400 |
commit | 34ebe933417e16f46bc30ea77a66e7f30d0cf0f8 (patch) | |
tree | 8038b4e6ff84b7b7e3573ce52bd4f48290161ad3 | |
parent | 47b8ea7186aae7f474ec4c98f43eaa8da719cd83 (diff) |
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>
-rw-r--r-- | Documentation/cgroups/cpusets.txt | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Documentation/cgroups/cpusets.txt b/Documentation/cgroups/cpusets.txt index f2235a162529..fdf7dff3f607 100644 --- a/Documentation/cgroups/cpusets.txt +++ b/Documentation/cgroups/cpusets.txt | |||
@@ -392,8 +392,10 @@ Put simply, it costs less to balance between two smaller sched domains | |||
392 | than one big one, but doing so means that overloads in one of the | 392 | than one big one, but doing so means that overloads in one of the |
393 | two domains won't be load balanced to the other one. | 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 | 395 | By default, there is one sched domain covering all CPUs, including those |
396 | marked isolated using the kernel boot time "isolcpus=" argument. | 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 | This default load balancing across all CPUs is not well suited for | 400 | This default load balancing across all CPUs is not well suited for |
399 | the following two situations: | 401 | the following two situations: |
@@ -465,6 +467,10 @@ such partially load balanced cpusets, as they may be artificially | |||
465 | constrained to some subset of the CPUs allowed to them, for lack of | 467 | constrained to some subset of the CPUs allowed to them, for lack of |
466 | load balancing to the other CPUs. | 468 | load balancing to the other CPUs. |
467 | 469 | ||
470 | CPUs in "cpuset.isolcpus" were excluded from load balancing by the | ||
471 | isolcpus= kernel boot option, and will never be load balanced regardless | ||
472 | of the value of "cpuset.sched_load_balance" in any cpuset. | ||
473 | |||
468 | 1.7.1 sched_load_balance implementation details. | 474 | 1.7.1 sched_load_balance implementation details. |
469 | ------------------------------------------------ | 475 | ------------------------------------------------ |
470 | 476 | ||