Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp4524586ybe; Mon, 16 Sep 2019 13:49:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqwfMl9x+9mDZVxTO3jWfP2aVXdlWAWEtr0rEPW/ocRC11wgLs0xENx+FADiD63Zncj0t4W9 X-Received: by 2002:aa7:c749:: with SMTP id c9mr1289967eds.232.1568666966363; Mon, 16 Sep 2019 13:49:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568666966; cv=none; d=google.com; s=arc-20160816; b=pppudOT5aLnxOb7N1vN4bfKqyNZBK8Pc/i81ZZBxG410tY9Wu9kpT1clcy260jDg/c 8nQsxv7+TI/hKiFd1tEzgRJrIcYl5HKbHp35lJaQN+0iAifRKdYFVbcrgeYPmqcn9auP N+EDiXVI5b2jDCPHktTOQwgnDyOnzxpiBaF3ptC6jjtWL4BPmECdm7oYtBiz6nqhyee0 uzxelANms0/fNSdbF6tb/M8TwCFDuX6vVjTMzl1nsRtplopSRCEu4q/90hCAfKbYOw9w R/ef6SEXLZ0QhCgXEg03yGsYodv0apRPBGlPvBZ9mlobsuEqXPJMKo2nAOKUsR+gRutU WTyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=bVn2/4tovL9mc1YVPstDuvjZygIOJUoLTDNXyAozeqs=; b=Nrzq0zc6TBgoliIfm7T+6K4ZOn+/SZBqyNfKE7C2OegLg/Ybkb8FOnFmfSnH9prPn3 XtA7REyoXczxd+q09jB+ydEH0cvigQw7hfsoiY7bo0umxFUrC6YlBJ35b9NUx7MVI0KZ zXXgRfWzV3xMZBgx0anRfbW0h6Nmyg8RxvTQmJZmzqaOGM1XVjBcFy6zova9xIahwvJ4 6QWP9Rddk+HTiHUGFRrF9iBF4xIAM0Cj9atRmLiPuDejUXPC5B/LXoompcAjyv2V8ARA l7Bhr7wHqW1pAo7SnSztES6fvSJeWFoIAbdSweK5UBBsMIXB8jirA2t86dF4zX3klZFi CCyw== 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 c12si121851edb.394.2019.09.16.13.49.02; Mon, 16 Sep 2019 13:49:26 -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 S1730399AbfIPOmm (ORCPT + 99 others); Mon, 16 Sep 2019 10:42:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:37140 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725917AbfIPOmm (ORCPT ); Mon, 16 Sep 2019 10:42:42 -0400 Received: from gandalf.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id AC8F520830; Mon, 16 Sep 2019 14:42:40 +0000 (UTC) Date: Mon, 16 Sep 2019 10:42:39 -0400 From: Steven Rostedt To: Qian Cai Cc: Sergey Senozhatsky , Petr Mladek , Catalin Marinas , Will Deacon , Dan Williams , linux-mm@kvack.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Peter Zijlstra , Waiman Long , Thomas Gleixner , Theodore Ts'o , Arnd Bergmann , Greg Kroah-Hartman Subject: Re: page_alloc.shuffle=1 + CONFIG_PROVE_LOCKING=y = arm64 hang Message-ID: <20190916104239.124fc2e5@gandalf.local.home> In-Reply-To: <1568289941.5576.140.camel@lca.pw> References: <1566509603.5576.10.camel@lca.pw> <1567717680.5576.104.camel@lca.pw> <1568128954.5576.129.camel@lca.pw> <20190911011008.GA4420@jagdpanzerIV> <1568289941.5576.140.camel@lca.pw> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 12 Sep 2019 08:05:41 -0400 Qian Cai wrote: > > drivers/char/random.c | 7 ++++--- > > 1 file changed, 4 insertions(+), 3 deletions(-) > > > > diff --git a/drivers/char/random.c b/drivers/char/random.c > > index 9b54cdb301d3..975015857200 100644 > > --- a/drivers/char/random.c > > +++ b/drivers/char/random.c > > @@ -1687,8 +1687,9 @@ static void _warn_unseeded_randomness(const char *func_name, void *caller, > > print_once = true; > > #endif > > if (__ratelimit(&unseeded_warning)) > > - pr_notice("random: %s called from %pS with crng_init=%d\n", > > - func_name, caller, crng_init); > > + printk_deferred(KERN_NOTICE "random: %s called from %pS " > > + "with crng_init=%d\n", func_name, caller, > > + crng_init); > > } > > > > /* > > @@ -2462,4 +2463,4 @@ void add_bootloader_randomness(const void *buf, unsigned int size) > > else > > add_device_randomness(buf, size); > > } > > -EXPORT_SYMBOL_GPL(add_bootloader_randomness); > > \ No newline at end of file > > +EXPORT_SYMBOL_GPL(add_bootloader_randomness); > > This will also fix the hang. > > Sergey, do you plan to submit this Ted? Perhaps for a quick fix (and a comment that says this needs to be fixed properly). I think the changes to printk() that was discussed at Plumbers may also solve this properly. -- Steve