Skip to contentSkip to conversation

s390: increase the NR_CPUS limit

PATCH In review Xose Vazquez Perez 2 participants 2 messages Nov 29, 2013 – Dec 2, 2013 s390

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 s390: increase the NR_CPUS limit

In current models, maximum number of active cores is 101.

---
 arch/s390/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/s390/Kconfig +3 -3
index 314fced..87afb9a 100644
@@ -347,14 +347,14 @@ config SMP
 	  Even if you don't know what to do here, say Y.
 
 config NR_CPUS
-	int "Maximum number of CPUs (2-64)"
-	range 2 64
+	int "Maximum number of CPUs (2-101)"
+	range 2 101
 	depends on SMP
 	default "32" if !64BIT
 	default "64" if 64BIT
 	help
 	  This allows you to specify the maximum number of CPUs which this
-	  kernel will support.  The maximum supported value is 64 and the
+	  kernel will support.  The maximum supported value is 101 and the
 	  minimum value which makes sense is 2.
 
 	  This is purely to save memory - each supported CPU adds
Signature · 1 line
1.8.3.1
#1 lore raw
Quoted 22 lines · Xose Vazquez Perez

In current models, maximum number of active cores is 101.

---
 arch/s390/Kconfig | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
arch/s390/Kconfig +0 -2
index 314fced..87afb9a 100644
@@ -347,14 +347,14 @@ config SMP
 	  Even if you don't know what to do here, say Y.
 
 config NR_CPUS
-	int "Maximum number of CPUs (2-64)"
-	range 2 64

arch/s390/Kconfig config SMP · line 358

Quoted 10 lines
arch/s390/Kconfig +3 -1
+	int "Maximum number of CPUs (2-101)"
+	range 2 101
 	depends on SMP
 	default "32" if !64BIT
 	default "64" if 64BIT
 	help
 	  This allows you to specify the maximum number of CPUs which this
-	  kernel will support.  The maximum supported value is 64 and the
+	  kernel will support.  The maximum supported value is 101 and the
 	  minimum value which makes sense is 2.

Hi Xose,

I modified your patch and applied a version which changes the maximum value to 256 instead.

Thanks!