Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1359369ybk; Thu, 14 May 2020 07:08:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzAhu1oETrqI7FD7kG/Iqj8mv03+aUTxX5RObVzGvM+LBvNRoL1v9ToeSyslQx46AdkTMsZ X-Received: by 2002:a05:6402:31ad:: with SMTP id dj13mr4214109edb.232.1589465291015; Thu, 14 May 2020 07:08:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589465291; cv=none; d=google.com; s=arc-20160816; b=fdgnxOINPI3lfRTQLoBu+f8j2fq+aEBR6dBT0sEK8mlXs8yM0t4bM0s4BZYBJXz+Sm UieEUumvw+Tj4laF60ydsncP+7xbltMg95sRCJUzwYvM3K+HM/7Y8dyZ8bti88XXgILB jlz+kjUbnE/iZbNrgPYAjUo3sAAg36kPvYUqMepRJOjTMItC147F6vgKesHN4DpqFYCs 8Hr+IUe6bP3XbZcXTyQ5YRWt5UojJdYNsSPYlebJKN38dEmRVG2H3r+R7Aja6kdO5Mcv 5vxoQ4Ass3MCpJfVvpZD9A79PKk7phgPNPgACyFGrH7VBTixeyAHdnb0x8ljVF85YIYB ifGw== 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=DPPma3BWcIsf3J/I70N8Nn3h+M8824Udo5W6dirat1Q=; b=zVfOJUwfNN5OXfVVQ2H5u+JgfeJlbempRAFU+N33Hi1YgQRmLLn8xMEX2Grven0gXU iE+Xy6DooXy0eF53cxR08RjpmZSVvDzbTACZmEPUwCQ9h72DN1KmbdDIP9DDKx7LQ9xS dX3uqAqTYHxcD3lflxWuFSq6W9t6OUONCpwO7iLl+J1BluCoHJZB5nGsLTgf78nJ1SJu XwdoA/U+MuQeOs5DtQln/sahZ6bnRIRGgutTOuJzFO5y3/w9/4JqkJqRrefAe26S+tK0 zRCQpv99I078HFd+456I6pT4UYMhuhmGTjsAEj1wtwZVcvDsN/r2EQHGeAdwT0917bt7 EJSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="gYeH/Ebn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a17si1858745eje.506.2020.05.14.07.07.45; Thu, 14 May 2020 07:08:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@lca.pw header.s=google header.b="gYeH/Ebn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbgENODZ (ORCPT + 99 others); Thu, 14 May 2020 10:03:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59528 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1726037AbgENODY (ORCPT ); Thu, 14 May 2020 10:03:24 -0400 Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DADEC061A0C for ; Thu, 14 May 2020 07:03:24 -0700 (PDT) Received: by mail-qk1-x741.google.com with SMTP id 190so3069919qki.1 for ; Thu, 14 May 2020 07:03:24 -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=DPPma3BWcIsf3J/I70N8Nn3h+M8824Udo5W6dirat1Q=; b=gYeH/EbnoXl71eid3pRmazK7xy05PoyQl4HRdQVxqc3vUTmfBZVm9mX8lKWNLWkS9W 0g3moK8CoN2hVva4yEIlApR1lxdLjtLTKKwduXuSnphKSuR1+nZP58OquuLTWh7djnNq opJ+ui5SlJPvbZPokEDbddfDUxGwaPThaNyeWfGSxOxpCIa1EEatvy082rKKhmVJAGM1 FNLOxXGfj9+Hiu8SAoQvjk58tPQisRePOCGIqtimdEnhlLV1HO6GSy7houWypJKmcYK+ YDa/SmNui5MHlfB5K80qDpWGHNntYbYLMjhBFThcth4RwTTXXtqUjsOokOTtc73nsa+/ LpyA== 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=DPPma3BWcIsf3J/I70N8Nn3h+M8824Udo5W6dirat1Q=; b=oU04hEOqOkSI/tg0p1OGaOsoq41Inkp7woQk1ipYwG81R4mOl/UPGzz3cHXR2gJj7C P87tA6/GhJdYMrXei7ih752Pa5k4tEBjrGt7C3TVkwfPcMU1+rYOVT4Qifyy4OYFPI5y zjwkW5iWz2EJSZqbpGMikOfarXLLdUCs8JIWoD+xmG3kh7F2lG2qEHKkJ+CmxeABvIoa owSbupqHOlSXcOf9jJJZ/U3QS1y2+WJBjrK/5Gx10QwtmoHxgoOZampGccYURflbi10F UqiOQ/GVs1VKmsUoAofka/7R5Zuhjsw6d5onQYikpvFxknQSjzXGhU3cN7QlVCRN50Ca Oxug== X-Gm-Message-State: AOAM531awBuWaqJ19CSu4nLsnu6OO0HWLOwpmWbQ2wGumGzdMrY+jTsf vGh4FctgwIv/a026x/a+R+ZgLg== X-Received: by 2002:a37:658a:: with SMTP id z132mr4906470qkb.267.1589465002907; Thu, 14 May 2020 07:03:22 -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 k138sm2650919qke.55.2020.05.14.07.03.22 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2020 07:03:22 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.80.23.2.2\)) Subject: Re: Default enable RCU list lockdep debugging with PROVE_RCU From: Qian Cai In-Reply-To: <20200514135402.GI2869@paulmck-ThinkPad-P72> Date: Thu, 14 May 2020 10:03:21 -0400 Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Madhuparna Bhowmik , Amol Grover , Dmitry Vyukov Content-Transfer-Encoding: quoted-printable Message-Id: References: <20200514222535.259cb69e@canb.auug.org.au> <20200514133328.GG2869@paulmck-ThinkPad-P72> <20200514135402.GI2869@paulmck-ThinkPad-P72> To: "Paul E. McKenney" X-Mailer: Apple Mail (2.3608.80.23.2.2) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > On May 14, 2020, at 9:54 AM, Paul E. McKenney = wrote: >=20 > On Thu, May 14, 2020 at 09:44:28AM -0400, Qian Cai wrote: >>=20 >>=20 >>> On May 14, 2020, at 9:33 AM, Paul E. McKenney = wrote: >>>=20 >>> On Thu, May 14, 2020 at 08:31:13AM -0400, Qian Cai wrote: >>>>=20 >>>>=20 >>>>> On May 14, 2020, at 8:25 AM, Stephen Rothwell = wrote: >>>>>=20 >>>>> Hi Paul, >>>>>=20 >>>>> This patch in the rcu tree >>>>>=20 >>>>> d13fee049fa8 ("Default enable RCU list lockdep debugging with = PROVE_RCU") >>>>>=20 >>>>> is causing whack-a-mole in the syzbot testing of linux-next. = Because >>>>> they always do a debug build of linux-next, no testing is getting = done. :-( >>>>>=20 >>>>> Can we find another way to find all the bugs that are being = discovered >>>>> (very slowly)? >>>>=20 >>>> Alternatively, could syzbot to use PROVE_RCU=3Dn temporarily = because it can=E2=80=99t keep up with it? I personally found = PROVE_RCU_LIST=3Dy is still useful for my linux-next testing, and = don=E2=80=99t want to lose that coverage overnight. >>>=20 >>> The problem is that PROVE_RCU is exactly PROVE_LOCKING, and asking = people >>> to test without PROVE_LOCKING is a no-go in my opinion. But of = course >>> on the other hand if there is no testing of RCU list lockdep = debugging, >>> those issues will never be found, let alone fixed. >>>=20 >>> One approach would be to do as Stephen asks (either remove = d13fee049fa8 >>> or pull it out of -next) and have testers force-enable the RCU list >>> lockdep debugging. >>>=20 >>> Would that work for you? >>=20 >> Alternatively, how about having >>=20 >> PROVE_RCU_LIST=3Dn if DEBUG_AID_FOR_SYZBOT >>=20 >> since it is only syzbot can=E2=80=99t keep up with it? >=20 > Sound good to me, assuming that this works for the syzkaller guys. > Or could there be a "select PROVE_RCU_LIST" for the people who would > like to test it. >=20 > Alternatively, if we revert d13fee049fa8 from -next, I could provide > you a script that updates your .config to set both RCU_EXPERT and > PROVE_RCU_LIST. >=20 > There are a lot of ways to appraoch this. >=20 > So what would work best for everyone? If PROVE_RCU_LIST=3Dn if DEBUG_AID_FOR_SYZBOT works for syzbot guys, = that would be great, so other testing agents could still report/fix = those RCU-list bugs and then pave a way for syzbot to return back once = all those false positives had been sorted out. Otherwise, =E2=80=9Cselect PROVE_RCU_LIST=E2=80=9D *might* be better = than buried into RCU_EXPERT where we will probably never saw those false = positives been addressed since my configs does not cover a wide range of = subsystems and probably not many other bots would enable RCU_EXPERT.=