diff options
author | Randy Dunlap <rddunlap@osdl.org> | 2005-01-04 05:32:43 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-01-04 05:32:43 -0800 |
commit | 920e33286e432fd1717cb9513cc91cd3a80ed12a (patch) | |
tree | 06fe44b87d24a7e971e4d3ab6cebe10af001a0e5 /Documentation | |
parent | 68764ad9ef60d9308dcce419c9a9bfc7fcab2ac8 (diff) | |
download | history-920e33286e432fd1717cb9513cc91cd3a80ed12a.tar.gz |
[PATCH] cpumask: range check before using value
When setting the 'cpu_isolated_map' mask, check that the user input value
is valid (in range 0 .. NR_CPUS - 1). Also fix up kernel-parameters.txt
for this parameter.
Signed-off-by: Randy Dunlap <rddunlap@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/kernel-parameters.txt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 8b56f5868c8b58..46f59e879f54d8 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt @@ -587,11 +587,13 @@ running once the system is up. Format: <RDP>, <reset>, <pci_scan>, <verbosity> isolcpus= [KNL,SMP] Isolate CPUs from the general scheduler. - Format: <cpu number>, ..., <cpu number> + Format: <cpu number>,...,<cpu number> This option can be used to specify one or more CPUs to isolate from the general SMP balancing and scheduling algorithms. The only way to move a process onto or off an "isolated" CPU is via the CPU affinity syscalls. + <cpu number> begins at 0 and the maximum value is + "number of CPUs in system - 1". This option is the preferred way to isolate CPUs. The alternative - manually setting the CPU mask of all tasks |