lkml.org 
[lkml]   [1999]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: arca-vm-26
Jamie Lokier wrote:

> On Fri, Jan 22, 1999 at 12:55:29AM -0800, David S. Miller wrote:
> > I like skip lists too, but one fallacy I found in them for kernel
> > usage is that they require a decent and fast random number source.
> > Perhaps you found a suitable solution to this problem in your
> > application?
>
> I don't think the source has to be _that_ good, so a linear feedback
> shift register should do. You can periodically mix in entropy from the
> random device into the LFSR value to keep it "fairly" random. (Say,
> whenever entropy enters the randomness pool),
>
> -- Jamie
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.rutgers.edu
> Please read the FAQ at http://www.tux.org/lkml/

This is what we use, and it works "fine". The numbers don't have to be
GREAT random, just GOOD random.

a



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.035 / U:0.768 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site