From: Andi Kleen <[EMAIL PROTECTED]> Date: Mon, 5 Nov 2007 00:01:03 +0100
> On Sunday 04 November 2007 22:56:21 David Miller wrote: > > From: Andi Kleen <[EMAIL PROTECTED]> > > > 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. For the stack case there is one debugging case, and that's for sprintf'ing cpusets. That could be easily eliminated. > If it's for sparse cpu ids -- x86 handles those with an > translation array. I would rather not do this, so much assembler code indexes straight into the per-cpu arrays. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html