aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2010-02-10 04:20:37 -0500
committerH. Peter Anvin <hpa@zytor.com>2010-02-17 20:30:22 -0500
commit2b633e3fac5efada088b57d31e65401f22bcc18f (patch)
treea5a63de9ef9db656dd9c87c7eaf360762fe69759 /Documentation
parent6738762d73a237ec322b04d8b9d55c8fd5d84713 (diff)
smp: Use nr_cpus= to set nr_cpu_ids early
On x86, before prefill_possible_map(), nr_cpu_ids will be NR_CPUS aka CONFIG_NR_CPUS. Add nr_cpus= to set nr_cpu_ids. so we can simulate cpus <=8 are installed on normal config. -v2: accordging to Christoph, acpi_numa_init should use nr_cpu_ids in stead of NR_CPUS. -v3: add doc in kernel-parameters.txt according to Andrew. Signed-off-by: Yinghai Lu <yinghai@kernel.org> LKML-Reference: <1265793639-15071-34-git-send-email-yinghai@kernel.org> Acked-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'Documentation')
-rw-r--r--Documentation/kernel-parameters.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index 736d45602886..51bceb0fb277 100644
--- a/Documentation/kernel-parameters.txt
+++ b/Documentation/kernel-parameters.txt
@@ -1772,6 +1772,12 @@ and is between 256 and 4096 characters. It is defined in the file
1772 purges which is reported from either PAL_VM_SUMMARY or 1772 purges which is reported from either PAL_VM_SUMMARY or
1773 SAL PALO. 1773 SAL PALO.
1774 1774
1775 nr_cpus= [SMP] Maximum number of processors that an SMP kernel
1776 could support. nr_cpus=n : n >= 1 limits the kernel to
1777 supporting 'n' processors. Later in runtime you can not
1778 use hotplug cpu feature to put more cpu back to online.
1779 just like you compile the kernel NR_CPUS=n
1780
1775 nr_uarts= [SERIAL] maximum number of UARTs to be registered. 1781 nr_uarts= [SERIAL] maximum number of UARTs to be registered.
1776 1782
1777 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA. 1783 numa_zonelist_order= [KNL, BOOT] Select zonelist order for NUMA.