Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp2298901rdb; Tue, 3 Oct 2023 17:35:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+PGrP7GLCkRGe1wXeFNMIogRAT4Nxt1V90hwMNUFuUwIrcJlpa8dZlNlptX4gdG+HOVCc X-Received: by 2002:a81:a08e:0:b0:595:6b47:6bae with SMTP id x136-20020a81a08e000000b005956b476baemr1192599ywg.13.1696379755085; Tue, 03 Oct 2023 17:35:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696379755; cv=none; d=google.com; s=arc-20160816; b=ppIJR3JKThKM9GujyofqbPXM9uQenumyEXLR35R3U+f791SDtd65NU9Doocf0qimw7 cIKrGUwf2QEARoCZzhdxkxJICfik2417J4g5+LmSd3km60RLN/ZX6E3RZPIH4rHIhD8i Nap8/UTQEzRibwUgvl9ipbxdvkFP79hALjVOjVHuify2V+utEumEXM8yuxoGhfPxHqS2 jP3KglUVLgkboyZ1l6xb5jsb8ZhO/XErz816ac73OGXIk+PlBovVx3pbC1XUxLbA39aQ lykq7BPX26Ulxm4uyf7FVI/bJaQetH2jizB1HVainSg4gPUqDCc1rLtTwK4WlkI2GDvk WFMQ== 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=ha0gWGtNlKqO/qKsBIay7HiIukoYiAR2d2q6uuxijMM=; fh=vVvfSO0KEX51P4ngSmQtx47/YEH4KLf0O/e45cMM1Xs=; b=B2V4E11bIJfEx/sdnxHZqwtKk2pOsb+kIidsSg78kSfb6wF3+T4bDL0FwLqr6zS4DV IzyLRIYUuzwFnPP+kN4rtrKyXd0we+nDRE04leTPt5/XCx5xBCRphBY3QdLIgIYO0Hzw dEW3LOGFShu2JxAEJefZT8hZYlz/G+nOjEO2uJ3Co+g8mggRIZk9GhIyZOnU0Bs8XZ5j ns6tL/WHx6cjUyX0r4dyVisVR4kR4+vHO3MbD/UAae9mztVBB8faEeQmNPbiHo9fsVp1 uGHI1BHRyxXyopvyFIlGIhKim+BLPqXH8BRBZTgOKObQzaLm04fNqsJWGsfgJasmDK7B hjcw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=atW2Z634; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (groat.vger.email. [2620:137:e000::3:5]) by mx.google.com with ESMTPS id by17-20020a056a02059100b005859b1c086fsi2886410pgb.532.2023.10.03.17.35.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Oct 2023 17:35:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 as permitted sender) client-ip=2620:137:e000::3:5; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=atW2Z634; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:5 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 groat.vger.email (Postfix) with ESMTP id 521D180A0E0E; Tue, 3 Oct 2023 17:35:48 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232215AbjJDAfh (ORCPT + 99 others); Tue, 3 Oct 2023 20:35:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229794AbjJDAfg (ORCPT ); Tue, 3 Oct 2023 20:35:36 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A28EDA6; Tue, 3 Oct 2023 17:35:32 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3898AC433C7; Wed, 4 Oct 2023 00:35:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696379732; bh=xTLf60xl9ywLlbfDNQmvd8IqUlwOS3SJ+u4eCvgHsog=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=atW2Z6340QtMCKI8qMfcwBjRgADGd6qTVXy/dhms8Ls1XdIgOn3N/arWd2e/DQ911 B1CWAHHGhiXlgoN9VZE5Db35fX8hxXkoyg+apqoOG7pu8GWyaM3SJ6aD/q05+0Ub0R HMQc7qACPaNrexqyobcJW1NUry3Cuz3yiUceT5J2brb9Bx4XDYz286PxoOWRYpKEOm EBs7DGlNZ6ilJH00w19sQ2krB+Hn0UqcQh0Z1EAd9pNVNDFqFLVynJJM8woXSTOYCs sHxLVG7H0wHoSeJMrowr5J0ireJ8kxKAuRKPXF2ko30ED8Dp0iDLQ/Wf/Bu3Incxop ih8GREYNELj1Q== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C6B74CE09E4; Tue, 3 Oct 2023 17:35:31 -0700 (PDT) Date: Tue, 3 Oct 2023 17:35:31 -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: 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: <20231003232903.7109-1-frederic@kernel.org> 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 groat.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 (groat.vger.email [0.0.0.0]); Tue, 03 Oct 2023 17:35:48 -0700 (PDT) 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... 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(-)