Received: by 2002:a25:b323:0:0:0:0:0 with SMTP id l35csp1792785ybj; Sun, 22 Sep 2019 12:03:41 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQceHSCJxiAp74cZFGRHcTtR261s+eOplsxEaQ18KhZpn5hsH//QxidRhE90SvSX/yInCL X-Received: by 2002:a50:cf0d:: with SMTP id c13mr32530441edk.125.1569179021013; Sun, 22 Sep 2019 12:03:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1569179021; cv=none; d=google.com; s=arc-20160816; b=J6KuT7yp8ZgIFvAm/MY/C0HCDHogRBxHP/MrSAWbeOQZDTaSIo8YSBsKMhS87VGEqE RX8Kc2SmJiHe77rzN7RI8huJDJEOz6stpY5JBSf0Ryy1L5l3c2u6ccixXviavZtCv2ef 3eULxEKYG0PN+t4TSlxlGknfp7utCDMss8mHTzS8BpSog0kpHWR04C3ZCcUbpkMAm577 JnkQiJXYDCqQdd9ARbfFUSBfM/bCFRMKwNzjVdi+KH9IiQaRZjl6WSN5kgH2fw9YKToN G1OWxl9bqJBJRmyVmLYK350kLxEfgHED6Xqhi+UQAL1XEnjDRsGWwqokVk36c75fQj30 oWPQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=kRB7J4Z1rxbkzW6KajLP7EjJU8aXPe3wlVZKi9gdjP8=; b=cqemgIy7CjgWZw0M9A8gY5EmLu5DtUNWOWp2IVKAMeSr+RmBHIe+lPQv9kfdvgpB8Q 6BW+aD1F7nR5H/2SpTI0CkIB+4x/CuCsQiBdWFfgV8FQHlaJtAKAoR15Tz07k9HCa48c Nk7xLsSH+jGwSkt0RT4W0Jd1uhVeeFcCFGXBNKI6Mr+gz9KT2TvYeS/qp46bwJ+C9t7e y6KsGgdrqoeal4jBoMzjyq21eMeSy00Xffxw2Uf3W4TSF/s8kv/YUzTPTo5jTMSWTC4+ ohQwkQXKk/XClS8wXsLO7HsX2cuUZW5zY4Dhbj8rE/vWOK3SZD8TELM8kJDlIzSpgU3Z Mjxg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@codon.org.uk header.s=63138784 header.b=POWQbp5e; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p22si4035666ejf.278.2019.09.22.12.03.16; Sun, 22 Sep 2019 12:03:40 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@codon.org.uk header.s=63138784 header.b=POWQbp5e; spf=pass (google.com: best guess record for domain of linux-ext4-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730040AbfITUex (ORCPT + 99 others); Fri, 20 Sep 2019 16:34:53 -0400 Received: from cavan.codon.org.uk ([93.93.128.6]:37083 "EHLO cavan.codon.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728994AbfITUex (ORCPT ); Fri, 20 Sep 2019 16:34:53 -0400 X-Greylist: delayed 997 seconds by postgrey-1.27 at vger.kernel.org; Fri, 20 Sep 2019 16:34:52 EDT DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=codon.org.uk; s=63138784; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=kRB7J4Z1rxbkzW6KajLP7EjJU8aXPe3wlVZKi9gdjP8=; b=POWQbp5eTDGJeeQ57YU37aabB ChHE8qiOp92UivtPZsgJYfG9CVQDVNr4ZjbEcdPdLKWTBlT8XDhn3QHR3yqKbLMuQXHiCvOt94iDv kPAI7CAYYeR2sf7uqNFh0X3X/XQSu7+V1Ru+So2x83Rx+bVtBGevz4s0bStBeS4431St4=; Received: from mjg59 by cavan.codon.org.uk with local (Exim 4.89) (envelope-from ) id 1iBPLf-0002o2-E8; Fri, 20 Sep 2019 21:17:47 +0100 Date: Fri, 20 Sep 2019 21:17:47 +0100 From: Matthew Garrett To: Linus Torvalds Cc: Andy Lutomirski , "Ahmed S. Darwish" , Lennart Poettering , "Theodore Y. Ts'o" , "Eric W. Biederman" , "Alexander E. Patrakov" , Michael Kerrisk , Willy Tarreau , lkml , Ext4 Developers List , Linux API , linux-man Subject: Re: [PATCH RFC v4 1/1] random: WARN on large getrandom() waits and introduce getrandom2() Message-ID: <20190920201747.kmzx2kjdv2hbljsy@srcf.ucam.org> References: <20190918211503.GA1808@darwi-home-pc> <20190918211713.GA2225@darwi-home-pc> <20190920134609.GA2113@pc> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: mjg59@cavan.codon.org.uk X-SA-Exim-Scanned: No (on cavan.codon.org.uk); SAEximRunCond expanded to false Sender: linux-ext4-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Fri, Sep 20, 2019 at 12:51:12PM -0700, Linus Torvalds wrote: > So we absolutely _will_ come up with some way 0 ends the wait. Whether > it's _just_ a timeout, or whether it's jitter-entropy or whatever, it > will happen. FWIW, Zircon uses the jitter entropy generator to seed the CRNG and documented their findings in https://fuchsia.dev/fuchsia-src/zircon/jitterentropy/config-basic . -- Matthew Garrett | mjg59@srcf.ucam.org