Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp6708072rwb; Wed, 18 Jan 2023 08:25:19 -0800 (PST) X-Google-Smtp-Source: AMrXdXsEKrTVjKhfz3KmNW9mpb/tNoJRSyYnKsGnTpOo7hmuEGsv2kOel8GRoC/ORxGtYroJX0AY X-Received: by 2002:a62:790d:0:b0:58a:fccd:9eb5 with SMTP id u13-20020a62790d000000b0058afccd9eb5mr30512115pfc.23.1674059119069; Wed, 18 Jan 2023 08:25:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674059119; cv=none; d=google.com; s=arc-20160816; b=0c+DyAIxDA06/CgBfhPV45ZEKPEdDQxQwhoGHbi1JQyqXNS2IzuH/I4tdDyeCyp7gx 8GLiJ9YntIw67KzPJZlzWUDLwFbvgLeiFkwZ+aynWJ13iPxcPa1sR2yOdg8ZJESQoJV+ f4k9LgUETSNAVG/zmtciXILlJoDYGM8VqoYQdgiJADSX6Vna60zc4xQcovWh+Dm1xZpF WP2SSFKz08tkczjcJD2cw7EhzpgclnBWATignlLyLuMQiG7bOjiOiNm2+48E+5qVr1bP KQi4iUlTIWJ1vz0/8LKdRkHEA5f45pf/5sBVT8ksmt9qFXGdz6+yQc7miNOnebMSb3Vl FhMw== 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; bh=M1blf7zPHNS5pb3W/Pvcdj+jw1rFhcK48BovHOiB1Ns=; b=Jau59ypBdsclr045ZplAhhP6Vid7yQgwS4zJ60otH8+poXb8g610z1tf0wPHg/gND3 f9mxjA5DK/kvtQpNMOXRw+VqtVEVZF3k/65s24W5lR+0sySP0k1ZUwDFUsbO7AwOzNj9 lLhXbXhY7TB19Ucr2HWVwyPaUrP2VBpBxHJdGFqx5bBRdIWcxnbw05jK0ovqHmAId57b 1UkmDORKMrzylTMURPPHihpqUmORUYNz5Rujq5bcV7j/VDu6pkamq6kMWkxEyE4vYOQN R/ddjOP2jmoZhsd/ZaSwSvj9kuPY+mpiaCBd1/ul08mt+hT2+sc2oN58WH22raiubCAy Kemw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q2-20020a056a00150200b00563a0453c55si16832569pfu.268.2023.01.18.08.25.13; Wed, 18 Jan 2023 08:25:18 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbjARQHa (ORCPT + 47 others); Wed, 18 Jan 2023 11:07:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230204AbjARQG4 (ORCPT ); Wed, 18 Jan 2023 11:06:56 -0500 Received: from netrider.rowland.org (netrider.rowland.org [192.131.102.5]) by lindbergh.monkeyblade.net (Postfix) with SMTP id 0890753E53 for ; Wed, 18 Jan 2023 08:03:35 -0800 (PST) Received: (qmail 211745 invoked by uid 1000); 18 Jan 2023 11:03:35 -0500 Date: Wed, 18 Jan 2023 11:03:35 -0500 From: Alan Stern To: "Paul E. McKenney" Cc: Andrea Parri , Jonas Oberhauser , Peter Zijlstra , will , "boqun.feng" , npiggin , dhowells , "j.alglave" , "luc.maranget" , akiyks , dlustig , joel , urezki , quic_neeraju , frederic , Kernel development list Subject: Re: Internal vs. external barriers (was: Re: Interesting LKMM litmus test) Message-ID: References: <20230116190652.GZ2948950@paulmck-ThinkPad-P17-Gen-1> <20230116221357.GA2948950@paulmck-ThinkPad-P17-Gen-1> <20230117151416.GI2948950@paulmck-ThinkPad-P17-Gen-1> <20230117174308.GK2948950@paulmck-ThinkPad-P17-Gen-1> <20230118051704.GX2948950@paulmck-ThinkPad-P17-Gen-1> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230118051704.GX2948950@paulmck-ThinkPad-P17-Gen-1> X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,SPF_HELO_PASS,SPF_PASS autolearn=no 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 Tue, Jan 17, 2023 at 09:17:04PM -0800, Paul E. McKenney wrote: > On Tue, Jan 17, 2023 at 09:15:15PM -0500, Alan Stern wrote: > > Maybe we don't. Please test the patch below; I think it will do what > > you want -- and it doesn't rule out nesting. > > It works like a champ on manual/kernel/C-srcu*.litmus in the litmus > repository on github, good show and thank you!!! > > I will make more tests, and am checking this against the rest of the > litmus tests in the repo, but in the meantime would you be willing to > have me add your Signed-off-by? I'll email a real patch submission in the not-too-distant future, assuming you don't find any problems with the new code. Alan