Received: by 2002:a25:e7d8:0:0:0:0:0 with SMTP id e207csp187616ybh; Fri, 13 Mar 2020 19:54:16 -0700 (PDT) X-Google-Smtp-Source: ADFU+vubEahZFPyFp4KAF+vZEi0iMKWS/hpu21LRD2vBZfp02DI86LEvfMUnc71Czvgb3e2vFVyp X-Received: by 2002:a9d:6411:: with SMTP id h17mr13658676otl.332.1584154456556; Fri, 13 Mar 2020 19:54:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1584154456; cv=none; d=google.com; s=arc-20160816; b=suTxQlr8yS7JSGZ62VnfAsJ27J418kmYWkb4SeJiIizZOC6nh4BEKQ0t5W1SqnhNEv rOetmxenpD4OZs4kvQTfDhHVy0pnUWrlfBC+gp0vP7beSHUxxwc/3VPI6dwADHSRIzfr iNnDHB2DOrZfpNotsLwCncf6m8UgvI/5WZe3Dg+Fq17VEQmmi3b6cePgGWiEQQODt4Fp nvWyatQzA5NDNNhBiGV3KKgDapgi1SQjeAyhSPLKxH0PGWmhp1Bk3bZy7mD/pg6tUVEk lVkJcSHt1Cz/kVL/AeK59YPRG737QwSvr4femRCId5p8FSAoNFUM2fPsPpaUoD7quql1 6nRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature; bh=VjewnPoybngaF4j18VnhCQc7gYXnlRqQi/8Wl5U+iwo=; b=XHhdYGrzStYPdmFVSEqka60sT8NzJDNIvOCq4n5qc48N3U72iRti8TTjTpfZXhwrn8 FJ9sqjJGX07JoY7Xx7z0wQAhf43eJeHJ4Pk4zWBKr5xtUxHd2Nkh4Vu33W6wbvWx/HIt L7McHy3gtcW91aU9lV1qfQvqLzUYXGcvseBXo7ac9Y1gfGn2aGvMGcTm4pDLABTod0n3 5DahuS+IXU2Ibae86LQsMvxy+K0NIx4GJifAnF1zqylVIM9H7qwkt6qOoXyh/RkSd0wR zez/lkBNvQbWr+IUSSmvy94KSG9GMidBtVH7uaOmdJfE1lokFFkEWK575qiAY5jHUpEI Nkyw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b=g9JMyT4P; 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 u21si5178569oiv.267.2020.03.13.19.54.04; Fri, 13 Mar 2020 19:54:16 -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; dkim=pass header.i=@lca.pw header.s=google header.b=g9JMyT4P; 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 S1726650AbgCNCx1 (ORCPT + 99 others); Fri, 13 Mar 2020 22:53:27 -0400 Received: from mail-qk1-f195.google.com ([209.85.222.195]:42542 "EHLO mail-qk1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726443AbgCNCx1 (ORCPT ); Fri, 13 Mar 2020 22:53:27 -0400 Received: by mail-qk1-f195.google.com with SMTP id e11so16279891qkg.9 for ; Fri, 13 Mar 2020 19:53:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lca.pw; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VjewnPoybngaF4j18VnhCQc7gYXnlRqQi/8Wl5U+iwo=; b=g9JMyT4PiSLSvNJpHuJ5MXlTSG/WY3jolLdY3Sgd25rvahuuI/j9rhi3e6v6Va6t6A l4lyEO+ukUQlMgOi72cY//D86xgikI2H24CESLHu/x2rsB/LYNDR0EYBqNDeHSBwriAQ jC0a0iJLYK47e/JdcP8DWckuKWMGFBALx/DMnIzouaSguDwiAB5Y72CtpKEfdUqV+j2Z hHcKYW/dsPZfPxc1elBZ6Db39jiRLnUbCIwjsHzV+xYi0Dcnblb9eedPMBB/aLyEIn59 RELtohPopw7cPdNIV4Vh4958BEpeY58aqsxKiVeN7OlpV5wK85Kewc0jBd3/EF3Sp9lL ak1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=VjewnPoybngaF4j18VnhCQc7gYXnlRqQi/8Wl5U+iwo=; b=ZcSriRWNZ11PyOTgh83/V6jn965NBhjtALD8y534KbdCi0+00nIMt+51GUXfZvmn6A QoSjzkxrNvfiy9nD7X+341kq3mG8BL5RsyBOwDGfVwfAeAl0NvRbmViKE2yMxLPZ19xd EWKlwnYuvNfiN4hOP9nkAjRVu8hxPKodfZMgvX/zXy+OwaA6nJLXErI0uyMXvN72/UJL yGmobJbirAadakqJVRw3oBDbwmlWk1pXtXcIKn1C1DkzS29P61hRBCBrUj/EU7rO6WoS QyQRn+0E0SMydIeMy1bgkF2KeUOZ3DqwEOYpuo3zCpDU0sUC8MiDLmzxziv07rxxz1f7 nWwA== X-Gm-Message-State: ANhLgQ3TQuT6KFe1jtxTH9nY5zLWFREE5x4GmrfnfLmsZLfGgSd2EB// BLsO1YM8KwHcbDmfieXcpBhZIRhjDcFGOw== X-Received: by 2002:ae9:e306:: with SMTP id v6mr16616977qkf.2.1584154406183; Fri, 13 Mar 2020 19:53:26 -0700 (PDT) Received: from [192.168.1.153] (pool-71-184-117-43.bstnma.fios.verizon.net. [71.184.117.43]) by smtp.gmail.com with ESMTPSA id m1sm9516956qtm.22.2020.03.13.19.53.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Mar 2020 19:53:25 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Subject: Re: [PATCH] timer: silenct a lockdep splat with debugobjects From: Qian Cai In-Reply-To: <20200313212620.GA2452@worktop.programming.kicks-ass.net> Date: Fri, 13 Mar 2020 22:53:24 -0400 Cc: Thomas Gleixner , John Stultz , sboyd@kernel.org, rostedt@goodmis.org, hannes@cmpxchg.org, linux-kernel@vger.kernel.org, Andy Lutomirski Content-Transfer-Encoding: quoted-printable Message-Id: <47A499D0-D1F5-4B72-A99D-6FBC8E3DD8AD@lca.pw> References: <20200313154221.1566-1-cai@lca.pw> <20200313180811.GD12521@hirez.programming.kicks-ass.net> <4FFD109D-EAC1-486F-8548-AA1F5E024120@lca.pw> <20200313201314.GE5086@worktop.programming.kicks-ass.net> <20200313212620.GA2452@worktop.programming.kicks-ass.net> To: Peter Zijlstra X-Mailer: Apple Mail (2.3608.60.0.2.5) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On Mar 13, 2020, at 5:26 PM, Peter Zijlstra = wrote: >=20 > On Fri, Mar 13, 2020 at 05:00:41PM -0400, Qian Cai wrote: >>> On Mar 13, 2020, at 4:13 PM, Peter Zijlstra = wrote: >=20 >>>=20 >>> Or, fix that random crud to do the wakeup outside of the lock. >>=20 >> That is likely to be difficult until we can find a creative way to = not =E2=80=9Cuglifying" the >> random code by dropping locks in the middle etc just because of = debugojects. >=20 > = https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/log/?h=3Dra= ndom/fast >=20 > Doesn't look difficult at all. Great. I cherry-picked the first two patches, random: Consolidate entropy batches for u32 and u64 random: Remove batched entropy locking which solved the issue here as well. Andy, may I ask what your plan to post those?=