Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp138497pxp; Fri, 18 Mar 2022 20:56:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwQqkorue3Pae11MqpNYcge2613cnB5h7uE/oQWpLBVeZRx7+C2psdia3kreWmhULaYXaYJ X-Received: by 2002:a17:906:facf:b0:6cd:ed0e:ed7 with SMTP id lu15-20020a170906facf00b006cded0e0ed7mr11436491ejb.376.1647662181865; Fri, 18 Mar 2022 20:56:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1647662181; cv=none; d=google.com; s=arc-20160816; b=n3VOdt0AJy5yeq2yWAjHriD33RSE42OHHbJFBzdf8ZidVxj9Xgel/PTCM0i/D831o7 XjE7WyirDDhWAu/ruXKM507fihYR1q+zIjqgYFPOrd4ETTpiykhy45FicYeboZXokKvn BPr3OWOQnbYbdYqmXkYYzYqk0wZ9lOAYHiZU3bsToq17rLGP3ijocxk1gpK53lpLUyCA d8v/XruaxzjnlHpaNWjwvTRu9EVC4DTUiXv6NaJNQKi9vMoBsjb66Z4l9HtFNeHZhWGI yry6CgceLUkZiEOrQyh4VkbTeEhVGX1ad3KjHDQupwSJ27b5I01M4EKl2IhqcHpHKaia oOJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=7xZZejAN0w/+46BdylMaJdQ/7N9lq5SnXuKRhDmx3vc=; b=eqPTlOXzjMhaLLqZHknMNY2kizVZL14hTXbl/BgY8nE/TyR+L6u2GWzCXONPUA0FRX 2LNZXKvUuPxHh7ZxbLNIpXklCf12r9ThlDZ/bx5ipP2aoPNcubHedTEKEFIpdb/f6j05 8neTNJ+CTea1X0WuRUYv8wpuTJHryjoKcLIxInpHz4XQNYVm5FCxprWfrE/Pwrt40JRM 6I/0BgP37qTBnF3YDjx+A73Ac+NTOaauhiVUGBjYIn3wbShoXGf++beATGV7Ljm9efDf oazRp3uMWy4SwbRGHYQhzCJ10snJkPzO0IGlWUD3e2EqOP+bGHkKBPJPbKPxcmSr9EaB kyWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QXMii/y8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v14-20020a50f08e000000b00418e692aa7dsi4996909edl.526.2022.03.18.20.55.56; Fri, 18 Mar 2022 20:56:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QXMii/y8"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S237990AbiCRPaI (ORCPT + 99 others); Fri, 18 Mar 2022 11:30:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233544AbiCRPaG (ORCPT ); Fri, 18 Mar 2022 11:30:06 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34BC1BF002 for ; Fri, 18 Mar 2022 08:28:48 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AFD3560B71 for ; Fri, 18 Mar 2022 15:28:47 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 21FB7C340E8; Fri, 18 Mar 2022 15:28:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1647617327; bh=q4+oI4skmfy4MLCDnMmB+ppfg2hO+b8Zapx6UfbH3UE=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=QXMii/y84Xw2j1PwicNWM8BY0LaRJ1J1wf5FX/ylKKAFYHLkFE9WY8rRTZ7MYVwtI hOAb624AnM5AVM55+gadR1yHKNp7321yNkl/ktwqskrJC6ABCmtrVqJVX0sHNZTUg8 a1PbiSJWyIES+88rm0K8bQokhPIgc91fmj32NgpFGUfRxvVoInQbHn1nVEC379vbvt j0ZKzC9mSEVtQVlKBEhkEq5ZhiAliKoNWQo3gavvHBzRt6DlxbRlMXAcA4DmYT3iZ6 cEOKQ0k0aNGtpiYJNllRg8OTkg6sZCvcsXkG11zm9MkfR9qpprhR+xLnrQTV9fmftr gLINnZwIkgZhw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id AAA5B5C04E0; Fri, 18 Mar 2022 08:28:46 -0700 (PDT) Date: Fri, 18 Mar 2022 08:28:46 -0700 From: "Paul E. McKenney" To: Oliver Sang Cc: lkp@lists.01.org, lkp@intel.com, LKML Subject: Re: [fixup! EXP srcu] 7bf8d644f8: WARNING:at_kernel/rcu/srcutree.c:#process_srcu Message-ID: <20220318152846.GA4285@paulmck-ThinkPad-P17-Gen-1> Reply-To: paulmck@kernel.org References: <20220312155919.GD1189@xsang-OptiPlex-9020> <20220314203814.GZ4285@paulmck-ThinkPad-P17-Gen-1> <20220316165342.GA1931135@paulmck-ThinkPad-P17-Gen-1> <20220317071608.GB735@xsang-OptiPlex-9020> <20220317180129.GR4285@paulmck-ThinkPad-P17-Gen-1> <20220318061603.GC12658@xsang-OptiPlex-9020> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220318061603.GC12658@xsang-OptiPlex-9020> X-Spam-Status: No, score=-8.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 18, 2022 at 02:16:03PM +0800, Oliver Sang wrote: > Hi Paul, > > On Thu, Mar 17, 2022 at 11:01:29AM -0700, Paul E. McKenney wrote: > > On Thu, Mar 17, 2022 at 03:16:08PM +0800, Oliver Sang wrote: > > > hi, Paul, > > > > > > On Wed, Mar 16, 2022 at 09:53:42AM -0700, Paul E. McKenney wrote: > > > > > > > > > > I had a feeling that the simple fix wasn't going to cut it, so thank you > > > > > for finding a scenario that proves that to be the case. Fix in progress, > > > > > to be folded into the original with attribution. > > > > > > > > OK, the attribution isn't quite there yet, but the squished-together > > > > commit is here: > > > > > > > > ea0098f19115 ("srcu: Prevent expedited GPs and blocking readers from consuming CPU") > > > > > > > > Does this version behave better for you? > > > > > > we tested this commit, found the issue gone. > > > please be noted the issue on 7bf8d644f8 is random and ~25% rate. > > > so I queued to run 100 times for this new commit, which is finally clean > > > according to tests. > > > > > > ========================================================================================= > > > compiler/kconfig/rootfs/sleep/tbox_group/testcase: > > > gcc-9/x86_64-rhel-8.3-func/debian-10.4-x86_64-20200603.cgz/1/vm-snb/boot > > > > > > commit: > > > feebd043ec6b ("Revert "srcu: Avoid expedited GPs and blocking readers from consuming CPU"") > > > 7bf8d644f869 ("fixup! EXP srcu: Check for too many zero-delay srcu_reschedule() calls") > > > ea0098f19115 ("srcu: Prevent expedited GPs and blocking readers from consuming CPU") > > > > > > feebd043ec6b9eab 7bf8d644f869260f63eaaedebab ea0098f191152c7fe3db5181a2e > > > ---------------- --------------------------- --------------------------- > > > fail:runs %reproduction fail:runs %reproduction fail:runs > > > | | | | | > > > :16 25% 4:16 0% :100 dmesg.RIP:process_srcu > > > :16 25% 4:16 0% :100 dmesg.WARNING:at_kernel/rcu/srcutree.c:#process_srcu > > > > Thank you for testing this! Tested-by? > > sure! > > Tested-by: kernel test robot > > (and will add this in early mail about testing if I have enough confidence > in the future :) Thanks) Please do! ;-) And I have it down for my next rebase. Thanx, Paul