Re: [RFC] enhanced version of net_random()

From: David S. Miller
Date: Thu Aug 12 2004 - 14:52:12 EST


On Thu, 12 Aug 2004 10:48:35 -0700
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> Here is a proposed alternative to use a longer period PRNG for net_random().
> The choice of TT800 was because it was freely available, had a long period,
> was fast and relatively small footprint. The existing net_random() was not
> really thread safe, but was immune to thread corruption.

Any chance of a version that doesn't grab a global lock and
disable interrupts every call? :(
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/