Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp521309rdf; Tue, 21 Nov 2023 08:46:13 -0800 (PST) X-Google-Smtp-Source: AGHT+IHb7SE9h+rd1BtPdeg4shOiOX5u1Uefzc/rwmtxBhIudRcVtZ2JfCi4KaALWoFCebd6ltmR X-Received: by 2002:a05:6a00:198d:b0:6cb:90d6:ee8c with SMTP id d13-20020a056a00198d00b006cb90d6ee8cmr7442741pfl.6.1700585173510; Tue, 21 Nov 2023 08:46:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700585173; cv=none; d=google.com; s=arc-20160816; b=B4nSYpcRRc58pe0Dgf55YeyOArN07+/3AF9HfBFNJKg2LARqn2RnSl+MJ4xlZFIYpE 6+U87y4JSqtGUsK3iZtg7vm9LmscjY/ToWc6y5+gTRu7RoJ5YFL/IOoRLTaQUrCTsC8z Ye8kTQBteFLhz2Rq3JKIepROcvf6kHwovBxDpqW6jvgSwNiAVdQQvPdpD8Y7wOCicvi2 v3k1U9p7jxQe5nd+QZQ9Ql3oAPwc8g9mFY41qAkt5PilQEmQjhquMEytU2UWKITa5Tje T0BNKonrGepekNhOtQenL1tNzwYZe3b5t1CQP6WuTYsvOL4uWn1vb9Pu7PawW5SDXKSu xddA== 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=7jcmQZq7U3f4HpcAFa0/SR2rQGys3gcHtLzNMnqkHVE=; fh=3okENGH5uKNAaReCOFLvs41/DoJSjdYrcYf0Wnfa7j0=; b=g1eYJMcQbilEDliUco8IBQq1h5yPnJ37ZMugmEH722Zs28eqgb04gdiO6DNwIlUL7d UzpuTkrBHgnugmDrhSF2t1pYM606P55+7MRot5+4ZpoYooKYK/V1VO5fvkyWF/fhRoDC 18uuX6BuX9yw6yA/nabzg9n4dO5hR1E5tel7MmHefJ37y9PGB2yiBAUOhmCD+YSbCmFS vpXGVahSdZXWrs79WhT1AG5UvqMPXq1dW1ux4ZDRx9kBGRpavKu1y6VerBoRN+wYU2pU BHJQCP+otQ4ENGOJkpRuYo/q3ZiHDNyH/s77a1Lz5HnQAPFht0+NXoRDwBNroHOt2eSV zEXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MHQiSuLn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id j14-20020a056a00130e00b0068a54522bb0si10995804pfu.144.2023.11.21.08.46.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:46:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MHQiSuLn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 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 fry.vger.email (Postfix) with ESMTP id EE8718080E2C; Tue, 21 Nov 2023 08:45:47 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231229AbjKUQp1 (ORCPT + 99 others); Tue, 21 Nov 2023 11:45:27 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43604 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230052AbjKUQp1 (ORCPT ); Tue, 21 Nov 2023 11:45:27 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D8E6100 for ; Tue, 21 Nov 2023 08:45:23 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 23DE9C433C7; Tue, 21 Nov 2023 16:45:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700585123; bh=CVDzwk2jOwJs7kMN49WDpMFr6C+98fD/I20HgAUdANs=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=MHQiSuLnKg9dTv0kiPb8jRhdzMqGsLGn3guLJLdm2tSBpfm93sCH8VqvrzQJRBzVR no2JwCfSyiYFXRUFOdfm0+OHmlTUXDMuel2hck2JDHNy+aa5Dzh1Oq47Ec8D5qK+oC OruacyS4lcIIRMsaGXknxlAy1em6O5O+yvpiYFiuAYc2yYCER2Rx8XnUECA2m8Wgvd H1rzrSHtpf05heCPTxZiLMsMTsggP76kJmw5Lpc0Cn6eLRFOAnTHuhT9U9HrtPs9eU ZCqhX6IdLdfhkp6Xd5JNNTMJMAXHizavjBzYvOpbvUYKOUdB7on0EjlgwJs7rn4uTn ocFzgh5Px9Duw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id BDC4FCE04C0; Tue, 21 Nov 2023 08:45:22 -0800 (PST) Date: Tue, 21 Nov 2023 08:45:22 -0800 From: "Paul E. McKenney" To: Steven Rostedt Cc: Peter Zijlstra , Mathieu Desnoyers , Masami Hiramatsu , linux-kernel@vger.kernel.org, Michael Jeanson , Alexei Starovoitov , Yonghong Song , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , bpf@vger.kernel.org, Joel Fernandes Subject: Re: [PATCH v4 1/5] tracing: Introduce faultable tracepoints Message-ID: Reply-To: paulmck@kernel.org References: <20231120205418.334172-1-mathieu.desnoyers@efficios.com> <20231120205418.334172-2-mathieu.desnoyers@efficios.com> <20231120214742.GC8262@noisy.programming.kicks-ass.net> <62c6e37c-88cc-43f7-ac3f-1c14059277cc@paulmck-laptop> <20231120222311.GE8262@noisy.programming.kicks-ass.net> <20231121084706.GF8262@noisy.programming.kicks-ass.net> <20231121143647.GI8262@noisy.programming.kicks-ass.net> <20231121094444.04701bdc@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121094444.04701bdc@gandalf.local.home> 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,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.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 (fry.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:45:48 -0800 (PST) On Tue, Nov 21, 2023 at 09:44:44AM -0500, Steven Rostedt wrote: > On Tue, 21 Nov 2023 15:36:47 +0100 > Peter Zijlstra wrote: > > > > Still utterly confused about what task-tracing rcu is and how it is > > different from preemptible rcu. > > Is this similar to synchronize_rcu_tasks()? As I understand that one (grace > period continues until all tasks have voluntarily scheduled or gone into > user space). But I'm a bit confused by synchronize_rcu_tasks_trace()? > > Note, that for syncronize_rcu_tasks() the critical sections must not call > schedule (although it is OK to be preempted). The synchronize_rcu_tasks() and synchronize_rcu_tasks_trace() functions are quite different, as noted elsewhere in this thread. Thanx, Paul