From owner-svn-src-all@FreeBSD.ORG Fri Oct 7 12:55:51 2011 Return-Path: Delivered-To: svn-src-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53EC21065674; Fri, 7 Oct 2011 12:55:51 +0000 (UTC) (envelope-from ache@vniz.net) Received: from vniz.net (vniz.net [194.87.13.69]) by mx1.freebsd.org (Postfix) with ESMTP id C93468FC12; Fri, 7 Oct 2011 12:55:47 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by vniz.net (8.14.5/8.14.5) with ESMTP id p97CtkYk028010; Fri, 7 Oct 2011 16:55:46 +0400 (MSK) (envelope-from ache@vniz.net) Received: (from ache@localhost) by localhost (8.14.5/8.14.5/Submit) id p97CtjbU028006; Fri, 7 Oct 2011 16:55:45 +0400 (MSK) (envelope-from ache) Date: Fri, 7 Oct 2011 16:55:45 +0400 From: Andrey Chernov To: Ed Schouten Message-ID: <20111007125544.GA26576@vniz.net> Mail-Followup-To: Andrey Chernov , Ed Schouten , src-committers@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, svn-src-head@FreeBSD.ORG References: <201110071242.p97Cg3u5011052@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201110071242.p97Cg3u5011052@svn.freebsd.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: svn-src-head@FreeBSD.ORG, svn-src-all@FreeBSD.ORG, src-committers@FreeBSD.ORG Subject: Re: svn commit: r226100 - head/sys/teken/stress X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Oct 2011 12:55:51 -0000 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: http://svn.freebsd.org/changeset/base/226100 > > 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(). -- http://ache.vniz.net/