From: "Paul E. McKenney" <paulmck@kernel.org>
To: Qian Cai <cai@lca.pw>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>,
Linux Next Mailing List <linux-next@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Madhuparna Bhowmik <madhuparnabhowmik10@gmail.com>,
Amol Grover <frextrite@gmail.com>,
Dmitry Vyukov <dvyukov@google.com>
Subject: Re: Default enable RCU list lockdep debugging with PROVE_RCU
Date: Thu, 14 May 2020 06:54:02 -0700 [thread overview]
Message-ID: <20200514135402.GI2869@paulmck-ThinkPad-P72> (raw)
In-Reply-To: <ADE40EB3-1B1C-4CCF-9B8A-1F2BC585BCFB@lca.pw>
On Thu, May 14, 2020 at 09:44:28AM -0400, Qian Cai wrote:
>
>
> > On May 14, 2020, at 9:33 AM, Paul E. McKenney <paulmck@kernel.org> wrote:
> >
> > On Thu, May 14, 2020 at 08:31:13AM -0400, Qian Cai wrote:
> >>
> >>
> >>> On May 14, 2020, at 8:25 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >>>
> >>> Hi Paul,
> >>>
> >>> This patch in the rcu tree
> >>>
> >>> d13fee049fa8 ("Default enable RCU list lockdep debugging with PROVE_RCU")
> >>>
> >>> 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. :-(
> >>>
> >>> Can we find another way to find all the bugs that are being discovered
> >>> (very slowly)?
> >>
> >> Alternatively, could syzbot to use PROVE_RCU=n temporarily because it can’t keep up with it? I personally found PROVE_RCU_LIST=y is still useful for my linux-next testing, and don’t want to lose that coverage overnight.
> >
> > 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.
> >
> > 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.
> >
> > Would that work for you?
>
> Alternatively, how about having
>
> PROVE_RCU_LIST=n if DEBUG_AID_FOR_SYZBOT
>
> since it is only syzbot can’t keep up with it?
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.
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.
There are a lot of ways to appraoch this.
So what would work best for everyone?
Thanx, Paul
next prev parent reply other threads:[~2020-05-14 13:54 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 12:25 Default enable RCU list lockdep debugging with PROVE_RCU Stephen Rothwell
2020-05-14 12:31 ` Qian Cai
2020-05-14 13:33 ` Paul E. McKenney
2020-05-14 13:39 ` Qian Cai
2020-05-14 13:44 ` Qian Cai
2020-05-14 13:54 ` Paul E. McKenney [this message]
2020-05-14 14:03 ` Qian Cai
2020-05-14 15:34 ` Paul E. McKenney
2020-05-14 15:46 ` Qian Cai
2020-05-14 18:13 ` Paul E. McKenney
2020-05-15 18:36 ` Qian Cai
2020-05-17 21:47 ` Paul E. McKenney
2020-05-18 5:54 ` Rong Chen
2020-05-18 12:44 ` Paul E. McKenney
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200514135402.GI2869@paulmck-ThinkPad-P72 \
--to=paulmck@kernel.org \
--cc=cai@lca.pw \
--cc=dvyukov@google.com \
--cc=frextrite@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=madhuparnabhowmik10@gmail.com \
--cc=sfr@canb.auug.org.au \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).