Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp1350077ybk; Thu, 14 May 2020 06:56:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzaHdjelHInekGzptEXwBnlRUr9I/MqNcR9u89f641GQa9igKHw16tELQ45ouhWMdxknb04 X-Received: by 2002:a05:6402:1d37:: with SMTP id dh23mr4004221edb.287.1589464592352; Thu, 14 May 2020 06:56:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589464592; cv=none; d=google.com; s=arc-20160816; b=sJx0VsMKKnfrktpVNzkVES1ZvScpZyIRlYHhooCrHFLpjWv+u+h0GKotaMoxqTyy1g RqlaOy17BZ1r/xBxm60Xk/yT/3+7rtYBHW9kUlPsX6sv0YhN+4A1zWSOhdLFgZtGdwyc 2zMHDa0Dnz05Km8JdLEpmrOOx3uDUhStSycEGs7Pn8osFBbqySuPO5YgTvXY13n8DnTJ jEW4l+5vPjvuPjGb7+P2cueNUIqX3K20cB5KkZs4fzdzo9cMQ9qDVRbSMUXky4fowBwb jlMjIhzYl8c+VLlfLUwK6+mtvQAZKv7Xwx9+P21igs8k3uBISm6T/DpG1oWIzhTgXZR2 Caqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=HNf8FjcPsPDiCr4q93DrqkTITsFtJQgo0u5N54v6dy4=; b=UH7cGG2wFeJb30cRNha9L/ipdpSZ1LrqrVnnOZ4mSHNM1STwZkVpHrA1i6ucrUmK8D Go+0821zj9Zp7Mvy1rFA61HLExU8d6MYoghuy+291ZALzn2exkd8bM+Wq2xjOm3wxujX BSmO6sJ93EzdQRXLFiPb/M+oEHx+KH8PjRe1mPN+ngVqtrc5BhRzNebODS9wqUbIJsdk 85wITEUGpIj14aok8Y7SAetPDoskSx4cjhuIypiS0dNAdSnmltnkPdiesJosMOzNvq0w AtyZPNF3FfZ9F2WMOPn8BkmMFnqr47zbct2lmap9LI19tK6BLdn+KYAOat/NkQmOlra5 +gig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=QWJYt4wE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id t10si1574913edw.408.2020.05.14.06.56.07; Thu, 14 May 2020 06:56:32 -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=@kernel.org header.s=default header.b=QWJYt4wE; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726203AbgENNyD (ORCPT + 99 others); Thu, 14 May 2020 09:54:03 -0400 Received: from mail.kernel.org ([198.145.29.99]:47250 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726073AbgENNyD (ORCPT ); Thu, 14 May 2020 09:54:03 -0400 Received: from paulmck-ThinkPad-P72.home (unknown [50.39.105.78]) (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 97198205CB; Thu, 14 May 2020 13:54:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1589464442; bh=bNrG9XA/HjyOs+0yCswb5zYOyQkr7H9bUyY9HpZXdFs=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=QWJYt4wEUS1rFbebQVlFjN3m/eKsEr/xBfs4ECKjTfE9k0eMwRGO9qWMyqUaRxlLG mU2TXve7ph1ssgyQpd6zlo8pGFNEOe2np32uwSi+akKIG7pSOB1AwVI3Obmi+qiRK5 DtHJmMgY1HOkFUyDjEJaduNRfKNFlfnmFH+UeeO4= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 1F57C35229C5; Thu, 14 May 2020 06:54:02 -0700 (PDT) Date: Thu, 14 May 2020 06:54:02 -0700 From: "Paul E. McKenney" To: Qian Cai Cc: Stephen Rothwell , Linux Next Mailing List , Linux Kernel Mailing List , Madhuparna Bhowmik , Amol Grover , Dmitry Vyukov Subject: Re: Default enable RCU list lockdep debugging with PROVE_RCU Message-ID: <20200514135402.GI2869@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <20200514222535.259cb69e@canb.auug.org.au> <20200514133328.GG2869@paulmck-ThinkPad-P72> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 14, 2020 at 09:44:28AM -0400, Qian Cai wrote: > > > > On May 14, 2020, at 9:33 AM, Paul E. McKenney wrote: > > > > On Thu, May 14, 2020 at 08:31:13AM -0400, Qian Cai wrote: > >> > >> > >>> On May 14, 2020, at 8:25 AM, Stephen Rothwell 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