From owner-svn-src-all@FreeBSD.ORG Wed Apr 1 15:46:38 2015 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E8969D9B; Wed, 1 Apr 2015 15:46:38 +0000 (UTC) Received: from mail-wi0-x234.google.com (mail-wi0-x234.google.com [IPv6:2a00:1450:400c:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 710C3F6F; Wed, 1 Apr 2015 15:46:38 +0000 (UTC) Received: by wixo5 with SMTP id o5so32497793wix.1; Wed, 01 Apr 2015 08:46:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=HSb6w2E2FyJuAEGWyD/KHxv3YWPult9t0buNjpAQ2so=; b=FhQw4XLf6doY5TidHXeAObOSp5zTAr+wXAfqjbB1FI044+yyRnF9nggmeGWScNmLZk kwrCQbTJkOi/3ATpnuprlQDlgsd6/6JSe+3rgMthP9ZtkxAy9aOtYjo56izyuAsfZAnJ mmbD1a5pAi7cEZUv8CAB0J6Zagl73OxRD2iJT+wOk3wy59NXf5UT9pqyCOjJz5Q2Zu+H JD8YpC9ap0LkmteHWB9rLQo6U3amVQNFWxOIIyihUw+/pPxROKxTZ5i4QLsQ1O/hOLHN VcXttm0Vv2XDzJAVTs+2RdyMgP1V9fyKkRBFBkkl8DWowhMKf0Ukba01wzQF2Otrb5lU jWzg== X-Received: by 10.180.80.164 with SMTP id s4mr15900754wix.78.1427903196900; Wed, 01 Apr 2015 08:46:36 -0700 (PDT) Received: from dft-labs.eu (n1x0n-1-pt.tunnel.tserv5.lon1.ipv6.he.net. [2001:470:1f08:1f7::2]) by mx.google.com with ESMTPSA id w3sm26021205wiz.5.2015.04.01.08.46.35 (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Wed, 01 Apr 2015 08:46:35 -0700 (PDT) Date: Wed, 1 Apr 2015 17:46:33 +0200 From: Mateusz Guzik To: Benjamin Kaduk Subject: Re: svn commit: r280955 - in head/sys: modules/notrandom dev/notrandom Message-ID: <20150401154633.GA14631@dft-labs.eu> References: <20150401113628.GA16649@dft-labs.eu> <20150401114313.GZ64665@FreeBSD.org> <20150401115204.GB16649@dft-labs.eu> <1427897897.82583.62.camel@freebsd.org> <551C0A92.8070507@freebsd.org> <551C0B2A.9060006@freebsd.org> <5A609CED-56E6-4459-8505-58930048AA0D@grondar.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "svn-src-head@freebsd.org" , "svn-src-all@freebsd.org" , "src-committers@freebsd.org" , Mark R V Murray X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.18-1 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: Wed, 01 Apr 2015 15:46:39 -0000 On Wed, Apr 01, 2015 at 11:36:26AM -0400, Benjamin Kaduk wrote: > On Wed, Apr 1, 2015 at 11:33 AM, Mark R V Murray wrote: > > > > > > > Before someone makes a terrible mistake, I should point out that 4 is > > confirmed random, as cited here: https://xkcd.com/221/ > > > But surely to be non-random we need an equal number of 1 and 0 bits, making > 15 the clear choice. > I don't know man. First off, '7' could not be chosen at random. I'm convinced factors like amount of CPUs (and their speed), RAM etc. played a huge factor here. Now that everything is faster these days, one could ponder returning '8'. We can add an ioctl to control this. Opinions? -- Mateusz Guzik