diff options
author | Derek Fults <dfults@sgi.com> | 2006-12-06 23:37:11 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.osdl.org> | 2006-12-07 11:39:35 -0500 |
commit | 22f2e280179946b8be1e2205b8654f2cb4abbf64 (patch) | |
tree | bf40a2070381fc83a365eff736763264c466db16 /Documentation/kernel-parameters.txt | |
parent | 8f63fdbbd6de7d734c036948bf7c4b2bebe3ad99 (diff) |
[PATCH] get_options to allow a hypenated range for isolcpus
This allows a hyphenated range of positive numbers in the string passed
to command line helper function, get_options.
Currently the command line option "isolcpus=" takes as its argument a
list of cpus.
Format: <cpu number>,...,<cpu number>
Valid values of <cpu_number> include all cpus, 0 to "number of CPUs in
system - 1". This can get extremely long when isolating the majority of
cpus on a large system. The kernel isolcpus code would not need any
changing to use this feature. To use it, the change would be in the
command line format for 'isolcpus='
Format:
<cpu number>,...,<cpu number>
or
<cpu number>-<cpu number> (must be a positive range in ascending
order.)
or a mixture
<cpu number>,...,<cpu number>-<cpu number>
Signed-off-by: Derek Fults <dfults@sgi.com>
Cc: "Randy.Dunlap" <rdunlap@xenotime.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'Documentation/kernel-parameters.txt')
-rw-r--r-- | Documentation/kernel-parameters.txt | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt index 1e183bd33d71..8fe6b834ef27 100644 --- a/Documentation/kernel-parameters.txt +++ b/Documentation/kernel-parameters.txt | |||
@@ -714,7 +714,12 @@ and is between 256 and 4096 characters. It is defined in the file | |||
714 | Format: <RDP>,<reset>,<pci_scan>,<verbosity> | 714 | Format: <RDP>,<reset>,<pci_scan>,<verbosity> |
715 | 715 | ||
716 | isolcpus= [KNL,SMP] Isolate CPUs from the general scheduler. | 716 | isolcpus= [KNL,SMP] Isolate CPUs from the general scheduler. |
717 | Format: <cpu number>,...,<cpu number> | 717 | Format: |
718 | <cpu number>,...,<cpu number> | ||
719 | or | ||
720 | <cpu number>-<cpu number> (must be a positive range in ascending order) | ||
721 | or a mixture | ||
722 | <cpu number>,...,<cpu number>-<cpu number> | ||
718 | This option can be used to specify one or more CPUs | 723 | This option can be used to specify one or more CPUs |
719 | to isolate from the general SMP balancing and scheduling | 724 | to isolate from the general SMP balancing and scheduling |
720 | algorithms. The only way to move a process onto or off | 725 | algorithms. The only way to move a process onto or off |