From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B22B9C433DF for ; Thu, 30 Jul 2020 02:41:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9AA2222B48 for ; Thu, 30 Jul 2020 02:41:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726724AbgG3Cln (ORCPT ); Wed, 29 Jul 2020 22:41:43 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:39154 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726319AbgG3Cln (ORCPT ); Wed, 29 Jul 2020 22:41:43 -0400 X-Greylist: delayed 647 seconds by postgrey-1.27 at vger.kernel.org; Wed, 29 Jul 2020 22:41:42 EDT Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 06U2Ui4w007702; Thu, 30 Jul 2020 04:30:44 +0200 Date: Thu, 30 Jul 2020 04:30:44 +0200 From: Willy Tarreau To: Linus Torvalds Cc: Stephen Rothwell , Emese Revfy , Kees Cook , Linux Next Mailing List , Linux Kernel Mailing List Subject: Re: linux-next: build failure after merge of the origin tree Message-ID: <20200730023044.GA7518@1wt.eu> References: <20200730090828.2349e159@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-next-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-next@vger.kernel.org On Wed, Jul 29, 2020 at 07:12:58PM -0700, Linus Torvalds wrote: > On Wed, Jul 29, 2020 at 5:09 PM Linus Torvalds > wrote: > > > > Removing the __latent_entropy marker obviously fixes things. > > Ok, I did that for now. I spent a few minutes looking at the gcc > plugin in case I'd be hit by some sudden stroke of genius, but that > didn't happen, so let's avoid the issue until somebody who knows the > gcc plugins better can come up with what the right solution is. I've looked if we couldn't we work around this by declaring another static variable with __latent_entropy and use it to initialize net_rand_state early, for example in prandom_init(), but there we already fill net_rand_state with randoms so I'm wondering if that __latent_entropy is used before prandom_init() or if its sole purpose is to provide extra initial entropy to be combined with the one prandom_init() will add. Willy