lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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