arc4random weakness
Joerg Sonnenberger
joerg at bec.de
Fri Mar 17 06:04:02 UTC 2017
On Wed, Mar 15, 2017 at 11:13:26PM +0300, Andrey Chernov wrote:
> On 15.03.2017 16:06, Steven Chamberlain wrote:
> > Also it is great to see INHERIT_ZERO was added to mmap(2)!
>
> It is not so great. For a program which forks very often zeroing even
> one page will be slowdown. It will be better and faster to implement it
> as fork syscall wrapper setting single variable, as it already done for
> threaded lib.
A program which forks very often is slow enough by nature. I don't think
the overhead of zeroing another page is going to make a huge difference
for that.
Joerg
More information about the freebsd-hackers
mailing list