svn commit: r226100 - head/sys/teken/stress

Andrey Chernov ache at FreeBSD.ORG
Fri Oct 7 12:55:51 UTC 2011

On Fri, Oct 07, 2011 at 12:42:03PM +0000, Ed Schouten wrote:
> Author: ed
> Date: Fri Oct  7 12:42:03 2011
> New Revision: 226100
> URL:
> Log:
>   Simply let teken_stress use arc4random.
>   This makes it run quite a bit faster, since it makes system calls less
>   often.

It is because we still have in some sense incorrect (father&son the same 
sequence after fork) arc4random() implementation with the patch stucking 
in the so-called "FreeBSD Security Team" review already several years.

OpenBSD version have at least one syscall per arc4random() call 
- getpid().


More information about the svn-src-all mailing list