forked from rpms/kernel
		
	Stop setting CONFIG_MAXSMP and adjust NR_CPUS
During the Kconfig factor, CONFIG_MAXSMP was set for all builds instead of just debug builds. This bumps the NR_CPUs up to 8192 which is far more than anyone actually needs for Fedora. Stop setting CONFIG_MAXSMP on non-debug configs and adjust NR_CPUs back to what it was before.
This commit is contained in:
		
							parent
							
								
									26ce06bb9f
								
							
						
					
					
						commit
						f4861c48b8
					
				@ -1 +1 @@
 | 
			
		||||
CONFIG_MAXSMP=y
 | 
			
		||||
# CONFIG_MAXSMP is not set
 | 
			
		||||
 | 
			
		||||
@ -1 +1 @@
 | 
			
		||||
CONFIG_NR_CPUS=8192
 | 
			
		||||
CONFIG_NR_CPUS=1024
 | 
			
		||||
 | 
			
		||||
@ -5,7 +5,7 @@
 | 
			
		||||
 | 
			
		||||
# x86_64
 | 
			
		||||
x86_64=baseconfig:baseconfig-x86:baseconfig-x86-x86_64
 | 
			
		||||
x86_64-debug=baseconfig:baseconfig-x86:baseconfig-x86-x86_64:debugconfig:debugconfig-x86
 | 
			
		||||
x86_64-debug=baseconfig:baseconfig-x86:baseconfig-x86-x86_64:debugconfig:debugconfig-x86:debugconfig-x86-x86_64
 | 
			
		||||
 | 
			
		||||
# i686
 | 
			
		||||
i686=baseconfig:baseconfig-x86:baseconfig-x86-i686
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								debugconfig/x86/x86_64/CONFIG_NR_CPUS
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								debugconfig/x86/x86_64/CONFIG_NR_CPUS
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1 @@
 | 
			
		||||
CONFIG_NR_CPUS=8192
 | 
			
		||||
@ -2775,7 +2775,7 @@ CONFIG_MAX30100=m
 | 
			
		||||
# CONFIG_MAX9611 is not set
 | 
			
		||||
# CONFIG_MAXIM_THERMOCOUPLE is not set
 | 
			
		||||
CONFIG_MAX_RAW_DEVS=8192
 | 
			
		||||
CONFIG_MAXSMP=y
 | 
			
		||||
# CONFIG_MAXSMP is not set
 | 
			
		||||
# CONFIG_MC3230 is not set
 | 
			
		||||
# CONFIG_MCB is not set
 | 
			
		||||
# CONFIG_MCE_AMD_INJ is not set
 | 
			
		||||
 | 
			
		||||
@ -2775,7 +2775,7 @@ CONFIG_MAX30100=m
 | 
			
		||||
# CONFIG_MAX9611 is not set
 | 
			
		||||
# CONFIG_MAXIM_THERMOCOUPLE is not set
 | 
			
		||||
CONFIG_MAX_RAW_DEVS=8192
 | 
			
		||||
CONFIG_MAXSMP=y
 | 
			
		||||
# CONFIG_MAXSMP is not set
 | 
			
		||||
# CONFIG_MC3230 is not set
 | 
			
		||||
# CONFIG_MCB is not set
 | 
			
		||||
# CONFIG_MCE_AMD_INJ is not set
 | 
			
		||||
 | 
			
		||||
@ -2824,7 +2824,7 @@ CONFIG_MAX30100=m
 | 
			
		||||
# CONFIG_MAX9611 is not set
 | 
			
		||||
# CONFIG_MAXIM_THERMOCOUPLE is not set
 | 
			
		||||
CONFIG_MAX_RAW_DEVS=8192
 | 
			
		||||
CONFIG_MAXSMP=y
 | 
			
		||||
# CONFIG_MAXSMP is not set
 | 
			
		||||
# CONFIG_MC3230 is not set
 | 
			
		||||
# CONFIG_MCB is not set
 | 
			
		||||
# CONFIG_MCE_AMD_INJ is not set
 | 
			
		||||
@ -3739,7 +3739,7 @@ CONFIG_NORTEL_HERMES=m
 | 
			
		||||
CONFIG_NOUVEAU_DEBUG=5
 | 
			
		||||
CONFIG_NOUVEAU_DEBUG_DEFAULT=3
 | 
			
		||||
CONFIG_NOZOMI=m
 | 
			
		||||
CONFIG_NR_CPUS=8192
 | 
			
		||||
CONFIG_NR_CPUS=1024
 | 
			
		||||
CONFIG_NR_DEV_DAX=32768
 | 
			
		||||
CONFIG_NS83820=m
 | 
			
		||||
CONFIG_NSC_FIR=m
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user