Skip to contentSkip to conversation

doc: make doc. for maxcpus= more visible

PATCH New Randy.Dunlap 1 participant 1 message Jan 21, 2006 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---
 Documentation/kernel-parameters.txt |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletion(-)
Documentation/kernel-parameters.txt +8 -1
@@ -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.

---