Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2483505rdb; Wed, 4 Oct 2023 02:36:15 -0700 (PDT) X-Google-Smtp-Source: AGHT+IExMSlaNva0CRCaxY7ix1B21q3foQlxvF49M0II9EVWp/ZaJcRZztjuL2pL8B0uWvl0bOLJ X-Received: by 2002:a05:6a00:1888:b0:691:320:b551 with SMTP id x8-20020a056a00188800b006910320b551mr2369862pfh.34.1696412175499; Wed, 04 Oct 2023 02:36:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696412175; cv=none; d=google.com; s=arc-20160816; b=L22CZU4CsV8S5pIvYp+AAB/PHax8dZF6ER3d2SqfYqZrRbZryxIYI36YnPCxlq9KFI iLa/+Awhn5KBDnDJxvjHeNSjiKqMVEthRlze/leLutA/6I28dDLIbbieYHTzQ7X8dGud tw3/bRwALKnIq737TkBwEMx6cO+pIAIm2cPnPkPVwnTtdYDNy0RnhhxbfJoQit6G/reQ UzMlK1mr9Bwn/97AXPDdN5dB8bYAvzgOnzpLcJSzutQQD/31Zr6Thr0ev4wS+nHudbtA rwcnVHI8yCVR67hyu5yoqTW7SHaGAX8ZXwlYoIvBFFebZQoxmEZ/7syaZBq4Gt2W48C0 lA2w== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=/2mmvSAYCwlyX/5ujKRaEE2d1jugLtHBHNRDl3/UlZ4=; fh=2yY5xun1ewsR7NsxD7W0x6WwnHqptqn+haJMqBxYxAk=; b=fMccXn1B/GGsb/hhz+yB6Kn+5KV9eiy+DqDrigTpDePH7xmIf6t9YYSqwqbzscvzKB wVnsY1vXiuz/u3TUUnW3vOyuDRdNoq+HxcJG6wCuyTGH8FYwL7b+IaXSCCnzak6Bo8kJ C24cHf9E99eEeKTBQtnc26LbWJryMkYntCN5AyotKS60+svSzHiXHcnXpLsnaOe6jbVB pblkFxs5nhB053puqSyDDCfA1NvN//l3ZHDvdDRs35yxHeQbii7cu6v6XXwRDMHSN+sR NNWSXZ2Ewkwu2a4apXUKDAr7nxbzVvM/suIjPPJ6JC9FUdgKjGTFTbyOwNw3Jd4ydSlJ X5Ig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kriT3b7G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id s8-20020a056a00194800b00690258a9777si3547771pfk.20.2023.10.04.02.36.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 04 Oct 2023 02:36:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kriT3b7G; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 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 pete.vger.email (Postfix) with ESMTP id 7D0328097A6F; Wed, 4 Oct 2023 02:35:50 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241995AbjJDJfp (ORCPT + 99 others); Wed, 4 Oct 2023 05:35:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232951AbjJDJfo (ORCPT ); Wed, 4 Oct 2023 05:35:44 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5379DAF; Wed, 4 Oct 2023 02:35:40 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CD13C433C7; Wed, 4 Oct 2023 09:35:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696412139; bh=1R9YOdaJktjKuIY0sIzrtibQpIhkJLVi71eZB9MeRoQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=kriT3b7GrQIO2kqlaSBdwUndtbVFlihm8jcYQZ4ZxHHDbCH6zPwJsQ4yam0Zgj4bo R1XxoBoawvue2kagsNOIwWrobqkfj7VCsaRqXmZR+LaMV0RTqqtAEt67HS4XVMUsQF um0z42AgZgxrAeEHdQ/JNmrmy4fQ+ICBBpyH4KIlkB+nHwElLhhW/9RFLKamlZX4So lZMEZC+iEZqszL6yaejOw6AbtB4dhCT8F1wJtTy8fLhwKqAy0tCSPMP8gRrE1EPeuF DAf1wFGFUhVgbXiOmToF5Xqc25t5C7libtA6t1sAvRy2tYkIJgmtdNOJVNYUjsULUT /U+hBYGHehYDw== Date: Wed, 4 Oct 2023 11:35:36 +0200 From: Frederic Weisbecker To: "Paul E. McKenney" Cc: LKML , Yong He , Neeraj upadhyay , Joel Fernandes , Boqun Feng , Uladzislau Rezki , RCU Subject: Re: [PATCH 0/5] srcu fixes Message-ID: References: <20231003232903.7109-1-frederic@kernel.org> <1d21ceee-56d3-4784-9e6f-0a766c773833@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1d21ceee-56d3-4784-9e6f-0a766c773833@paulmck-laptop> X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email 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 (pete.vger.email [0.0.0.0]); Wed, 04 Oct 2023 02:35:50 -0700 (PDT) On Tue, Oct 03, 2023 at 08:21:42PM -0700, Paul E. McKenney wrote: > 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? Hmm, yesterday I thought RCU would be fine because it has a tick polling on callbacks anyway. But I'm not so sure, I'll check for real... Thanks. > > > 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(-)