Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp17646218ybl; Thu, 2 Jan 2020 09:17:35 -0800 (PST) X-Google-Smtp-Source: APXvYqze3FfqwFSt4E4Zl+/Qt06a9vvwZsw2XekaoQ3+A89iCNLtttL28pg0+yB71J0gazt6kizD X-Received: by 2002:a05:6830:18ed:: with SMTP id d13mr29058241otf.208.1577985454992; Thu, 02 Jan 2020 09:17:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577985454; cv=none; d=google.com; s=arc-20160816; b=KfuJRUvKgxVBO89sgbWiyMPdptGdtTbNo2Vn331DBPsjWrG5ncl0z7bCkk0nEaL14V 9fdZ8+p/PDrtcoIY12FI6+2Bplul7+Z/JfjWnlr4VRD0A+NykZYzpEK93I7OXvTAm+T3 mr/sWguAIV5+GPys1jVCTEcuVtWzM5uKkHE+aE/h8Hb6VbssHACPjOh7XMO2CuKy+sXC lf/XeL7FqaKClf2EAKsXC+dL7DL2KFsUb3Q0n7tqQz2cvOwsTmRJN00+upS/K4EK2Z/u EjbDJI6TShGCR9RtIe1kZg951OUNzX0XCMM6jDcfzB0K3mBQRtoJMGCFbwlGGac+Dvww vT+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:in-reply-to:cc:references:message-id :date:subject:mime-version:from:content-transfer-encoding :dkim-signature; bh=kAQJ38i09v+amShK5qBU7ZxzERB9iZK7X0VJJQXO1pg=; b=PaUDxilQhXBP+ux9+xIcWxuakNj/zNU/48Bwy77WPLPfpquNvoaj+NFmp14DC/rUc5 a0YLvCP3uKx4ZGdtkKEExjJt610yVr/x/R+zOrBn14ZHodCQlhrrzo4MMoaBaf8vsm2B pwZmyx0KXdLRWmbX+1cmWl1zHjUQsrNWTZ3p6wqLzbkAfGOit92DJ0QzIuFp95QeuEQo hbJBk7h449ZCrrkgrP5DTAhXudcjOGjJYPCPuYQmXGIATwf9w7l2nxNJ81tT83NcGoO1 D0/pZ8weP/Zdc0HU0qWvrUfNoWgRW+4NAFSgqr93B4qD4Xnv5rDtuYHFZ1E6kntpUs01 2qvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=Q15Fp3sZ; 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 f25si18729574oti.244.2020.01.02.09.17.22; Thu, 02 Jan 2020 09:17:34 -0800 (PST) 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; dkim=pass header.i=@lca.pw header.s=google header.b=Q15Fp3sZ; 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 S1727697AbgABRQb (ORCPT + 99 others); Thu, 2 Jan 2020 12:16:31 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41465 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbgABRQb (ORCPT ); Thu, 2 Jan 2020 12:16:31 -0500 Received: by mail-qt1-f195.google.com with SMTP id k40so35106339qtk.8 for ; Thu, 02 Jan 2020 09:16:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=content-transfer-encoding:from:mime-version:subject:date:message-id :references:cc:in-reply-to:to; bh=kAQJ38i09v+amShK5qBU7ZxzERB9iZK7X0VJJQXO1pg=; b=Q15Fp3sZh1kg8N0IVHw9ikL56635h8bswHZ2x6XjfR/BSZnwsOzAgLtXnm2d7Dg7dZ bMeW/7mkX53lSUV/K1ss+mCX+VOaMu2ECxzXppX5Ms+99ZYEYLAJWSxNuIB0Ri8K6hfX sKyySuuY4n/KjuL8AbnYomGeKvf6T0kG/Sri042sL7f456qFWyvmDo0aPZbzyr0wkUTm Pfj4pDVpM1lpQUmzIucs1dVdc2LCtncu4V6/1h6GPFDid/oJmDab4VyY1vJ98FrRRzOJ 2T5gnqKsHfg18X5kRdxWRIZmxjn1u5voiXAAT8UURcECLMFjsneP9spdTBvaYjFPnQwA vjjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=kAQJ38i09v+amShK5qBU7ZxzERB9iZK7X0VJJQXO1pg=; b=fJ3JqMl0tAOYJDH70k9bkj3yi0GPGicC3lcQrlvjIRJ/ijrrtWCRfYR9lW83yC8Rc7 T+UlZVXdIn3gaVrMUxoj+osdDPEMirRs0tCk73fZEBBC+5AWaIJtlTqjLgqJ5uiNwxZh GBHYDTTSTvGnbu0mUF5ODJszcefSwugZbsl3Li/5jX9a7HaToWmsoi4QLmvbc6LRl8VQ Mn02OwGrhNoT9yF6vACJCmReUgdrbLUtKkME/Rv5zRUYyp0ocV8gZzY30/rN/SkQjw9G KoNW7oma6M8qx7IDwFYlcLdt/RXjYAnd3PiFQEbvdPdWSbiwPYwLtyXbGUcLjUHh+bYN UNlg== X-Gm-Message-State: APjAAAUQppGY9FJNr+ina/tGB+3H79iw/BuQF7N4EVDjvBOgM8WF4o4R KV/o6INW1DCUq/3GuIhF4AiKZ1s8IBU= X-Received: by 2002:aed:3e83:: with SMTP id n3mr59731182qtf.322.1577985390236; Thu, 02 Jan 2020 09:16:30 -0800 (PST) Received: from [192.168.1.183] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id v7sm17304099qtk.89.2020.01.02.09.16.29 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 02 Jan 2020 09:16:29 -0800 (PST) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable From: Qian Cai Mime-Version: 1.0 (1.0) Subject: Re: [PATCH] char/random: silence a lockdep splat with printk() Date: Thu, 2 Jan 2020 12:16:28 -0500 Message-Id: <00116950-7DFB-4F93-959A-06D63E8FF51E@lca.pw> References: <20200102120752.7b893b1e@gandalf.local.home> Cc: Sergey Senozhatsky , Andrew Morton , Linus Torvalds , tytso@mit.edu, Arnd Bergmann , gregkh@linuxfoundation.org, pmladek@suse.com, Catalin Marinas , Will Deacon , dan.j.williams@intel.com, Peter Zijlstra , longman@redhat.com, Thomas Gleixner , Linux-MM , linux-arm-kernel@lists.infradead.org, Linux Kernel Mailing List In-Reply-To: <20200102120752.7b893b1e@gandalf.local.home> To: Steven Rostedt X-Mailer: iPhone Mail (17C54) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Jan 2, 2020, at 12:07 PM, Steven Rostedt wrote: >=20 > How would this disable lockdep early in the process? The patch is just > changing pr_notice() to printk_deferred() correct? Yes, I meant without this patch. Lockdep will easily generate this potential= deadlock warning early after boot and then disable itself.=