Skip to contentSkip to conversation

Allow ia64 to CONFIG_NR_CPUS up to 4096

PATCH In review Robin Holt 2 participants 4 messages Jul 29, 2008 – Aug 2, 2008

lore
Share & tools
lore

Robin Holt

author
#0 lore raw

PATCH 1/1 Allow ia64 to CONFIG_NR_CPUS up to 4096

ia64 has compiled with NR_CPUS@96 for a couple releases, just forgot to update Kconfig to allow it.

Index: contention_unroll/arch/ia64/Kconfig
=================================--- contention_unroll.orig/arch/ia64/Kconfig 2008-07-28 18:19:56.000000000 -0500
+++ contention_unroll/arch/ia64/Kconfig 2008-07-29 06:29:26.248066055 -0500
@@ -322,9 +322,9 @@ config SMP

config NR_CPUS
int "Maximum number of CPUs (2-1024)"
- range 2 1024
+ range 2 4096
depends on SMP
- default "1024"
+ default "4096"
help
You should set this to the number of CPUs in your system, but keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but

#1 lore raw

Review config SMP · line 324

Quoted 7 lines

Index: contention_unroll/arch/ia64/Kconfig
=================================> --- contention_unroll.orig/arch/ia64/Kconfig 2008-07-28 18:19:56.000000000 -0500
+++ contention_unroll/arch/ia64/Kconfig 2008-07-29 06:29:26.248066055 -0500

(quoted diff) +0 -0
@@ -322,9 +322,9 @@ config SMP
 
 config NR_CPUS
 	int "Maximum number of CPUs (2-1024)"

Should we change to 'int "Maximum number of CPUs (2-4096)"' ?

Quoted 12 lines
(quoted diff) +2 -3
-	range 2 1024
+	range 2 4096
 	depends on SMP
-	default "1024"
+	default "4096"
 	help
 	  You should set this to the number of CPUs in your system, but
 	  keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but
--

To unsubscribe from this list: send the line "unsubscribe linux-ia64" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
In reply to Robin Holt

ia64 has compiled with NR_CPUS@96 for a couple releases, just forgot to update Kconfig to allow it.

Index: contention_unroll/arch/ia64/Kconfig
=================================--- contention_unroll.orig/arch/ia64/Kconfig 2008-07-29 07:03:17.514143399 -0500
+++ test-2.6.27-rc1/arch/ia64/Kconfig 2008-07-29 08:16:50.987937542 -0500
@@ -321,10 +321,10 @@ config SMP
If you don't know what to do here, say N.

config NR_CPUS
- int "Maximum number of CPUs (2-1024)"
- range 2 1024
+ int "Maximum number of CPUs (2-4096)"
+ range 2 4096
depends on SMP
- default "1024"
+ default "4096"
help
You should set this to the number of CPUs in your system, but keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but

author
#3 lore raw

PATCH 1/1 Allow ia64 to CONFIG_NR_CPUS up to 4096 v2

In reply to Robin Holt

ia64 has compiled with NR_CPUS@96 for a couple releases, just forgot to update Kconfig to allow it.

Index: contention_unroll/arch/ia64/Kconfig
=================================--- contention_unroll.orig/arch/ia64/Kconfig 2008-07-29 07:03:17.514143399 -0500
+++ contention_unroll/arch/ia64/Kconfig 2008-07-29 08:16:50.987937542 -0500
@@ -321,10 +321,10 @@ config SMP
If you don't know what to do here, say N.

config NR_CPUS
- int "Maximum number of CPUs (2-1024)"
- range 2 1024
+ int "Maximum number of CPUs (2-4096)"
+ range 2 4096
depends on SMP
- default "1024"
+ default "4096"
help
You should set this to the number of CPUs in your system, but keep in mind that a kernel compiled for, e.g., 2 CPUs will boot but