login
Header Space

 
 

Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Mike Travis <travis@...>
Cc: Andrew Morton <akpm@...>, <linux-mm@...>, <linux-kernel@...>
Date: Wednesday, March 26, 2008 - 12:09 pm

On Tue, Mar 25, 2008 at 06:41:39PM -0700, Mike Travis wrote:


I'm not really getting the point of MAXSMP - people should simply pick 
their values, and when they want the maximum "(2-4096)" and "(1-15)" 
already provide this information (except that your patch hides the 
latter information from the user).

And with your patch, even with MAXSMP=y people could still set 
NR_CPUS=7 and NODES_SHIFT=15 or whatever else they want...

More interesting would be why you want it to set NODES_SHIFT to 
something less than the maximum value of 15. I'm getting the fact that
2^15 > 4096 and that 15 might be nonsensical high, but this sounds more 
like requiring a patch to limit the range to 9?



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus, Adrian Bunk, (Wed Mar 26, 12:09 pm)
Re: [PATCH 2/2] x86: Modify Kconfig to allow up to 4096 cpus, Christoph Lameter, (Wed Mar 26, 3:16 pm)
speck-geostationary