Received: by 10.192.165.148 with SMTP id m20csp3715603imm; Mon, 23 Apr 2018 11:03:37 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/F5f0rPhfKKsl2uq1PVRImAcFdy6So0h+jwZV8yJ9xnMsNY2xLN5Rl785DkXz15p0fsgN8 X-Received: by 2002:a17:902:70c7:: with SMTP id l7-v6mr21281952plt.165.1524506617548; Mon, 23 Apr 2018 11:03:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524506617; cv=none; d=google.com; s=arc-20160816; b=hFpRcGmj649mYUJERDNDXLTJnq0+tzGqUTYbCY7I1jojqTMX5KMst7xsWPZ9eMqQTh 8jz7j58/92M0dwP6nLIc/eL0xTDO903D86RyNATRFf38Fcw/cd7zlkylnv7JmjQYfObi 19y1s3/zQNgt4f1pKYUN96iaiHeszzU5JesSpkBzOPsZf+XPmbqQ7VWaeVRkxO3hODc+ 4DpE/vj5DJfkCyV/xG3LvOVV2alsM1wB8670gUc/7usp5iVzCnre+8rBolHmmvxaQDV+ JwZZ8FVQ+Mc+CbM1m8bAEVuCsUVij9h8LOJTa1+7d2pqTniE5710BNeLz4fvjsp27K8r aIHA== 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:to :from:date:arc-authentication-results; bh=5yGOP4Hc+kPmjlq4ubRtL3EHcgd6NZoRMyqGgVO6itI=; b=omeTWHxdFhcu7EtL0yekJppUlXoGNSuTs/nJHYoqT5Lb2vooiwsfMaU1iURrPeb1Vf 9HEwFA38iayyXLTuSMOoL4IApKd6BZw/X+8tOBYHz58UeHwZIQQFJzPNy3i0pJgkXEnV Uy4+lH6N7MYYuFwyQ8Ph1rvlEdTr5k2GCEGeUdGEFAaIGJymCUIbUNwFEkzGqhB5WoEr TzsCg7V72dafxcnIRginjWXMzG2KniMR+CdK74q86ej/YxKFgBcynfVoJ2AjTVmPoHwL yHUnTU6ZGqkuIg3iifNlWVxD4ssZKYcml8dxODnKibj0g7L8qrimecEa5P3bmTLgrOX/ 4Phw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-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 w20-v6si12304810plp.7.2018.04.23.11.03.21; Mon, 23 Apr 2018 11:03:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932352AbeDWSCF (ORCPT + 99 others); Mon, 23 Apr 2018 14:02:05 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:48758 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932217AbeDWSCC (ORCPT ); Mon, 23 Apr 2018 14:02:02 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 90EB14A4; Mon, 23 Apr 2018 18:02:01 +0000 (UTC) Date: Mon, 23 Apr 2018 20:01:56 +0200 From: Greg KH To: "Theodore Y. Ts'o" , Tetsuo Handa , ben@decadent.org.uk, linux-kernel@vger.kernel.org, stable@vger.kernel.org, jannh@google.com, stable@kernel.org, carnil@debian.org Subject: Re: [PATCH 4.9 75/95] random: set up the NUMA crng instances after the CRNG is fully initialized Message-ID: <20180423180156.GB26974@kroah.com> References: <20180422135210.432103639@linuxfoundation.org> <20180422135213.491879480@linuxfoundation.org> <49fa7d5f484a06f02946afec0688c33849e018de.camel@decadent.org.uk> <20180423071520.GC28186@kroah.com> <201804231921.DGB18791.QOVFLFMJFtSOHO@I-love.SAKURA.ne.jp> <20180423155637.GB8194@thunk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180423155637.GB8194@thunk.org> User-Agent: Mutt/1.9.5 (2018-04-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Apr 23, 2018 at 11:56:37AM -0400, Theodore Y. Ts'o wrote: > On Mon, Apr 23, 2018 at 07:21:10PM +0900, Tetsuo Handa wrote: > > Greg Kroah-Hartman wrote: > > > > I think this can be fixed by backporting commit 4a072c71f49b > > > > "random: silence compiler warnings and fix race" but I'm not sure > > > > whether that depends on other changes. > > > > > > According to Tetsuo Handa, it's also causing problems in mainline :( > > > > > > Ted, any thoughts as to what to do here? > > > > (Resending because Webmail post was rejected by both stable ML and linux-kernel ML.) > > > > Subject: random: GFP_KERNEL|__GFP_NOFAIL allocation from IRQ context > > > > Hello. > > > > Commit 8ef35c866f8862df ("random: set up the NUMA crng instances after > > the CRNG is fully initialized") is causing sleep inside atomic warning > > due to GFP_KERNEL|__GFP_NOFAIL allocation from IRQ context. Though it > > unlikely sleeps because there will be enough free memory at boot up... > > > > Please don't backport that patch now. > > Yes, please hold off on this in the stable queues as well. What we'll > probably need to do is call defer the processing to a workqueue in the > CONFIG_NUMA case. I've dropped this patch from 4.16.y, 4.14.y, and 4.9.y for now. thanks, greg k-h