Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2351892rdb; Tue, 3 Oct 2023 20:21:52 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFvY8HQryRcmU5khbSaYxxWr8Cr/3Q8uXHNpXeNcjKl9Re7gtXtgVIl5B09tBin4ltVLrLA X-Received: by 2002:a05:6358:1ca:b0:145:6433:8224 with SMTP id e10-20020a05635801ca00b0014564338224mr1222355rwa.18.1696389711875; Tue, 03 Oct 2023 20:21:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696389711; cv=none; d=google.com; s=arc-20160816; b=T4Jct2yRmanWCP0XfsasXkJC8t04YNCYFl+DZIFvteIk5fppbHWRIyVxEnqgZFkwd9 bZQHjAdsJDSsX3PTjYbug0lyVADksavgi1GATcDHx4uO85skRJH/9eTmPCKUzN4mNjby EyDD4nzMwKqTQ0fo2i87fkPAJlXRiy45UXpv9l3HEdu2b9hWPPJO+gdhxmgkSolc0Vc0 gSY7kpJRPwSjuyNwP9r4ouJRjS+DQSd4YrQDp4WGMN0tdgYd8aYXiga2iEDDIZVUzN9l cUCjCCKVL52dOJDYwFF9lM6wD5Ev4NAbJAk2jLZtss682a4d2+VJr+l2Vz9qCww/i6x0 8ykw== 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=7TJs/cdO0FkBnbJFAEzBZAAWKYrnfoYqEHaqD4txLi8=; fh=vVvfSO0KEX51P4ngSmQtx47/YEH4KLf0O/e45cMM1Xs=; b=XY8CDiE52bHwdzIlnEFvWsQQXPZyAm9dSt4zjzLeZMWEh+L8PBEIIET3OqQMLGcZJ0 26Ziam/H5+qHkgJRAW5oS9RIitbDX59MmL1RKULsc9UK+Q64iM9qXX8Vic6dhsPmkoSX 1C30roMSbkPHJt+gr7xiNVljj0gxgbTyo4EeTWWNrP4QweGCrjslbCiwtOX2EBkZvmVE kPQleQU5eOdOHH/HHLm6oYGunJj9jnrQnynQElronVCkqWR7gUgHXTiOmtTTR3xA5SMM SCi9V7FgO4o8T+pal4gA5V5V1HvUjaAR0QgE6LoS5tArEyTl/T45ogdYUFwhTWhfy37X 2/9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xk6Hr4Gl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 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 howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id my17-20020a17090b4c9100b002790e0af4aasi666143pjb.174.2023.10.03.20.21.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 20:21:51 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Xk6Hr4Gl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 8E85E82FB608; Tue, 3 Oct 2023 20:21:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230298AbjJDDVr (ORCPT + 99 others); Tue, 3 Oct 2023 23:21:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51750 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjJDDVr (ORCPT ); Tue, 3 Oct 2023 23:21:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A1742A6; Tue, 3 Oct 2023 20:21:43 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2EB7BC433C8; Wed, 4 Oct 2023 03:21:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696389703; bh=4KEs3Ma2L8uutNWD2H85qna4KBwiVAMhPKGo1VMNOBo=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=Xk6Hr4GlHRYP3+jejgMamPp0Kz5vpsnkvqMbQtoBbn/05IEzXy6654m+pYiMpbLjU nR6HF3qPkETYxk0S8OFR2apDMM5LiFJrKFtMBIfHkuJ8sRAX6phFoxIMMQjmrdIwG7 0MEguWpuE0bN7t14Art5XvgWDVgvOE2j75tlB1Z1Gcw8KBHg3NzUbgY9V2xU5lZMtG HwHl87dvIkwk4VqDDG7qhGOji3g9OXs0wIOne4iXihKvVqIbtgsmjg+eRJ/KMRlhSB EBGu3L7wJO7WJYI4u39nB7enDNADA6JYE94qIzTCY5VtUZEK5nDDxfucgghymI+Fs7 R0jRLmbDdDsEw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id CFD4BCE0D14; Tue, 3 Oct 2023 20:21:42 -0700 (PDT) Date: Tue, 3 Oct 2023 20:21:42 -0700 From: "Paul E. McKenney" To: Frederic Weisbecker Cc: LKML , Yong He , Neeraj upadhyay , Joel Fernandes , Boqun Feng , Uladzislau Rezki , RCU Subject: Re: [PATCH 0/5] srcu fixes Message-ID: <1d21ceee-56d3-4784-9e6f-0a766c773833@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20231003232903.7109-1-frederic@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 03 Oct 2023 20:21:50 -0700 (PDT) On Tue, Oct 03, 2023 at 05:35:31PM -0700, Paul E. McKenney wrote: > On Wed, Oct 04, 2023 at 01:28:58AM +0200, Frederic Weisbecker wrote: > > Hi, > > > > This contains a fix for "SRCU: kworker hung in synchronize_srcu": > > > > http://lore.kernel.org/CANZk6aR+CqZaqmMWrC2eRRPY12qAZnDZLwLnHZbNi=xXMB401g@mail.gmail.com > > > > And a few cleanups. > > > > Passed 50 hours of SRCU-P and SRCU-N. > > > > git://git.kernel.org/pub/scm/linux/kernel/git/frederic/linux-dynticks.git > > srcu/fixes > > > > HEAD: 7ea5adc5673b42ef06e811dca75e43d558cc87e0 > > > > Thanks, > > Frederic > > Very good, and a big "Thank You!!!" to all of you! > > I queued this series for testing purposes, and have started a bunch of > SRCU-P and SRCU-N tests on one set of systems, and a single SRCU-P and > SRCU-N on another system, but with both scenarios resized to 40 CPU each. > > While that is in flight, a few questions: > > o Please check the Co-developed-by rules. Last I knew, it was > necessary to have a Signed-off-by after each Co-developed-by. > > o Is it possible to get a Tested-by from the original reporter? > Or is this not reproducible? > > o Is it possible to convince rcutorture to find this sort of > bug? Seems like it should be, but easy to say... And one other thing... o What other bugs like this one are hiding elsewhere in RCU? > o Frederic, would you like to include this in your upcoming > pull request? Or does it need more time? Thanx, Paul > > --- > > > > Frederic Weisbecker (5): > > srcu: Fix callbacks acceleration mishandling > > srcu: Only accelerate on enqueue time > > srcu: Remove superfluous callbacks advancing from srcu_start_gp() > > srcu: No need to advance/accelerate if no callback enqueued > > srcu: Explain why callbacks invocations can't run concurrently > > > > > > kernel/rcu/srcutree.c | 55 ++++++++++++++++++++++++++++++++++++--------------- > > 1 file changed, 39 insertions(+), 16 deletions(-)