From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B489C61D90 for ; Tue, 21 Nov 2023 16:07:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233939AbjKUQHq (ORCPT ); Tue, 21 Nov 2023 11:07:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44728 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233822AbjKUQHo (ORCPT ); Tue, 21 Nov 2023 11:07:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E773126 for ; Tue, 21 Nov 2023 08:07:40 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3ED2BC433C7; Tue, 21 Nov 2023 16:07:38 +0000 (UTC) Date: Tue, 21 Nov 2023 11:07:53 -0500 From: Steven Rostedt To: Mathieu Desnoyers Cc: Peter Zijlstra , "Paul E. McKenney" , 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: <20231121110753.41dc5603@gandalf.local.home> In-Reply-To: References: <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> <6f503545-9c42-4d10-aca4-5332fd1097f3@efficios.com> <20231121144643.GJ8262@noisy.programming.kicks-ass.net> <20231121155256.GN4779@noisy.programming.kicks-ass.net> X-Mailer: Claws Mail 3.19.1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 21 Nov 2023 11:00:13 -0500 Mathieu Desnoyers wrote: > > tasks-tracing-rcu: > > extention of tasks to have critical-sections ? Should this simply be > > tasks? > > tasks-trace-rcu is meant to allow tasks to block/take a page fault > within the read-side. It is specialized for tracing and has a single > domain. It does not need the smp_mb on the read-side, which makes it > lower-overhead than SRCU. IOW, task-trace-rcu allows the call to schedule in its critical section, whereas task-rcu does not? -- Steve