Re: [PATCH] x86: Allow NR_CPUS=1024

From: Ingo Molnar
Date: Mon Nov 04 2013 - 09:11:00 EST



* Josh Boyer <jwboyer@xxxxxxxxxx> wrote:

> > Why touch MAXSMP at all? It's really just a shortcut for 'configure
> > the kernel silly large', via a single option, nothing else. You are
> > not forced to use it and it should not affect configurability of
> > NR_CPUS.
> >
> > What we _really_ want here is to fix NR_CPUS setting: to extend its
> > range and to enforce that NR_CPUS cannot be set larger than 512
> > without setting CONFIG_CPUMASK_OFFSTACK.
>
> OK. I was just thinking that if we've come to the conclusion that 4096
> CPUs isn't silly large anymore, we should make MAXSMP be something we
> consider silly large. [...]

MAXSMP is also supposed to track the real hardware max as well on x86 -
i.e. we should only increase it to 8192 etc. if such hardware exists.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/