Subject: Re: [PATCH] INET : removes per bucket rwlock in tcp/dccp ehash table

From: Andi Kleen <[email-masked]>
Date: Mon, 5 Nov 2007 00:01:03 +0100

On Sunday 04 November 2007 22:56:21 David Miller wrote:
> From: Andi Kleen <[email-masked]>

> This makes a huge different as we have to set NR_CPUS to 4096
> in order to handle the cpu numbering of some UltraSPARC-IV
> machines.

Really? Hopefully you have a large enough stack then. There 
are various users who put char str[NR_CPUS] on the stack
and a few other data structures also get incredibly big with
NR_CPUS arrays.

If it's for sparse cpu ids -- x86 handles those with an 
translation array.

-Andi