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  linux-cve-announce  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:	Tue, 8 Apr 2008 19:53:53 +0200
From:	Andi Kleen <andi@...stfloor.org>
To:	Juliusz Chroboczek <Juliusz.Chroboczek@....jussieu.fr>
Cc:	Andi Kleen <andi@...stfloor.org>, netdev@...r.kernel.org
Subject: Re: [PATCH] Stochastic Fair Blue queue discipline

On Tue, Apr 08, 2008 at 07:35:36PM +0200, Juliusz Chroboczek wrote:
> > no net_random/srandom32 is per CPU and likely does the wrong thing for you.
> 
> Why is that?  I'm only using this to initialise a global data
> structure, why should it matter that I use per-cpu state?

Because they're independent and there is no guarantee you always 
run on the same CPU and sampling them randomly will not necessarily
give you a good random number sequence.

-Andi
--
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ