Subject: Re: [PATCH] Stochastic Fair Blue queue discipline

From: Andi Kleen <[email-masked]>
Date: Tue, 8 Apr 2008 19:53:53 +0200

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