Re: [patch] CONFIG_NR_CPUS
Dave Jones (davej@suse.de)
Thu, 6 Jun 2002 23:36:55 +0200
On Thu, Jun 06, 2002 at 11:23:11PM +0200, Thomas 'Dent' Mirlacher wrote:
> > and then go edit every SMP-capable arch's config.in/Config.help
> > files. But the arch maintainers should test one case please - x86
> > was locking up at boot on quad CPU with NR_CPUS=2. Others may do
> > the same.
>
> well, what you need to do is make sure smp_num_cpu <= NR_CPUS,
> otherwise the kernel will go ballistic on several places within
> the code.
*nod*, relying on the user to get it right may not be as simple
as it seems. Quite a few people were pleasantly surprised when
their 2-way P4 Xeon become a 4-way HT P4 box.
Dave
--
| Dave Jones. http://www.codemonkey.org.uk
| SuSE Labs
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/