[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20071104.135621.48992864.davem@davemloft.net>
Date: Sun, 04 Nov 2007 13:56:21 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: ak@...e.de
Cc: dada1@...mosbay.com, netdev@...r.kernel.org, acme@...hat.com,
jarkao2@...pl
Subject: Re: [PATCH] INET : removes per bucket rwlock in tcp/dccp ehash
table
From: Andi Kleen <ak@...e.de>
Date: Sun, 4 Nov 2007 13:26:38 +0100
>
> > But I suspect distributions kernels enable CONFIG_HOTPLUG_CPU so
> > num_possible_cpus() will be NR_CPUS.
>
> Nope, on x86 num_possible_cpus() is derived from BIOS tables these days.
And similarly on SPARC64 is will be set based upon the
physical capabilities of the system.
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.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists