Date: Fri, 17 Mar 2017 07:03:54 +0100 From: Joerg Sonnenberger <joerg@bec.de> To: freebsd-hackers@freebsd.org Subject: Re: arc4random weakness Message-ID: <20170317060354.GB9951@britannica.bec.de> In-Reply-To: <5160183b-9778-59aa-6cf9-118014a588eb@freebsd.org> References: <CAD2Ti28acbW%2BpGQR5UihECWvg9WduGmVzkVFug_2ZWRF2zyTBw@mail.gmail.com> <20170313220639.GB65190@pyro.eu.org> <20170315130615.GC25448@pyro.eu.org> <5160183b-9778-59aa-6cf9-118014a588eb@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170317060354.GB9951>