Re: [RFC] frandom - fast random generator module

From: H. Peter Anvin
Date: Tue Oct 21 2003 - 20:06:25 EST


Followup to: <bn4bav$ji4$1@xxxxxxxxxxxxxxxxxx>
By author: davidsen@xxxxxxx (bill davidsen)
In newsgroup: linux.dev.kernel
>
> As noted, I do get around that... some care needs to be taken calling
> random number generators from threads, since some have internal storage
> in addition to the seed which can be provided by the caller.
>

You can also put your stuff in Thread Local Storage.

-hpa
--
<hpa@xxxxxxxxxxxxx> at work, <hpa@xxxxxxxxx> in private!
If you send me mail in HTML format I will assume it's spam.
"Unix gives you enough rope to shoot yourself in the foot."
Architectures needed: ia64 m68k mips64 ppc ppc64 s390 s390x sh v850 x86-64
-
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/