2006-01-21 04:07:05

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] doc: make doc. for maxcpus= more visible

From: Randy Dunlap <[email protected]>

Some people are confused about maxcpus=1 and maxcpus=0,
so put the documentation text from init/main.c into
Documentation/kernel-parameters.txt also.

Signed-off-by: Randy Dunlap <[email protected]>
---
Documentation/kernel-parameters.txt | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletion(-)

--- linux-2616-rc1-secur.orig/Documentation/kernel-parameters.txt
+++ linux-2616-rc1-secur/Documentation/kernel-parameters.txt
@@ -801,7 +801,14 @@ running once the system is up.
Format: <1-256>

maxcpus= [SMP] Maximum number of processors that an SMP kernel
- should make use of
+ should make use of.
+ Using "nosmp" or "maxcpus=0" will disable SMP
+ entirely (the MPS table probe still happens, though).
+ A command-line option of "maxcpus=<NUM>", where <NUM>
+ is an integer greater than 0, limits the maximum number
+ of CPUs activated in SMP mode to <NUM>.
+ Using "maxcpus=1" on an SMP kernel is the trivial
+ case of an SMP kernel with only one CPU.

max_addr=[KMG] [KNL,BOOT,ia64] All physical memory greater than or
equal to this physical address is ignored.


---