[PATCH] Always read from /dev/urandom
Jeremy Allison
jra at samba.org
Mon Oct 12 20:44:11 UTC 2015
On Mon, Oct 12, 2015 at 10:39:59PM +0200, Volker Lendecke wrote:
> On Mon, Oct 12, 2015 at 01:22:08PM -0700, Jeremy Allison wrote:
> > Yeah I know, it's only measuring the userspace, not
> > kernel space time. But still, 120x less userspace code
> > is certainly not to be sneezed at :-).
>
> The main test that convinced me was
>
> time genrandperf n
>
> which was a few times faster for me after the patch.
>
> Just found: There's a typo in the usage printf of the
> genrandperf. If you feel like it, correct it please. It's
> too late here to send an updated patch now :-)
No problem, I'll fix before push. Thanks !
More information about the samba-technical
mailing list