[PATCH 2.6.26?] Raise the upper limit of NR_CPUS.

Michael Ellerman michael at ellerman.id.au
Fri Apr 18 20:33:44 EST 2008


On Fri, 2008-04-18 at 15:33 +1000, Tony Breeds wrote:
> As the pacas are statically initialised increasing NR_CPUS beyond 128,
> means that any additional pacas will be empty  ... which is bad.
> 
> This patch adds the required functionality to fill in any excess pacas
> at runtime.
> 
> Signed-off-by: Tony Breeds <tony at bakeyournoodle.com>
> ---
> I know it's late, but can this be considered for 2.6.26?
> 
>  arch/powerpc/kernel/paca.c             |   33 ++++++++++------------------
>  arch/powerpc/kernel/prom_init.c        |   36 ++++++++++++++++++++++++++++++++
>  arch/powerpc/platforms/Kconfig.cputype |    4 +-
>  include/asm-powerpc/paca.h             |   19 ++++++++++++++++

What happens on non prom-init platforms?

cheers

-- 
Michael Ellerman
OzLabs, IBM Australia Development Lab

wwweb: http://michael.ellerman.id.au
phone: +61 2 6212 1183 (tie line 70 21183)

We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080418/861539c3/attachment.pgp>


More information about the Linuxppc-dev mailing list