Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp496300rdf; Tue, 21 Nov 2023 08:10:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IG8Fvs7w+DkfdcAUSk+fQcc3BuangROYg/piuO8V20fcN3r8hGUn+HTrOQxX968ywVDYk0I X-Received: by 2002:a05:6808:3999:b0:3b2:e5f2:5a59 with SMTP id gq25-20020a056808399900b003b2e5f25a59mr7298446oib.35.1700583011842; Tue, 21 Nov 2023 08:10:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700583011; cv=none; d=google.com; s=arc-20160816; b=kjsF4OUOc/+8Yc0oRb6a1KBzt2f3Xmy1PnV9M+PK0YpNS4oHxiJyeapSmiYR6ETSFj 8ddwJymfDCsQ86DzScxXE/P2GX2dDi3dRIh5RQdzjmH0SBZAalKHYF50gbK7uT5hEGL3 pzn911DJKV0lWJabXVwoLQ2Dvewxo3g/Z5WzERJZeIBPuIHch8j+LugTnn9HaB9e+6T2 2rQE430t9cB+et2UbYlry2hYfsndzlLkf+0FYWHAMvIlieJUCzPNsbGLGsHGYt+T5QTG OEKEnv6rdzk4QpIZYTYIdqmFYtdPM6DS2502R3YU9HK1IYZMICJpLkittIf1z188ZG6f Dr+w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=sU3V6uyhMqKTn8vUFUZKzdFBMnJLPvQcczRE71/zOSQ=; fh=OTf4ResW2Jm8pv0p8hnjCz+wjAvF7yQGRlElgE9rtJs=; b=YoCx2o3JWi6nLL7jhuUEtTFO//d+F6d3cPIVYs5MWTMeTnnPLhs6QDyfu5useZN66o Jm3lyMvIKvbTncMZ3E0jdsXGV24xCWKlJh96ksjv9tXW2VhtGm32tirpnYq4emAkqkw1 hiYQCCJqh9aSeprh069fcWr6UNzPfyMfk37WMItrDEiRvNIgoKWHoIFYTOqwFIt+GVRx Yf+OWqmdl+8jm6M84GClM2r9bz7oIIcoakqPR90qrmisEcx8/mOsl+gSAXE43vjfShX5 bYnaTi9rVY9eQYukCNZ9Bk8PL4MxHJC6+pMz3pKuC32wp3ff2ZRURkUq0Optdbja5UY0 FTsg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id k25-20020a63ba19000000b005a9fb6bf73esi10420556pgf.293.2023.11.21.08.10.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:10:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id BE81280C65E1; Tue, 21 Nov 2023 08:07:44 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233817AbjKUQHp (ORCPT + 99 others); Tue, 21 Nov 2023 11:07:45 -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 X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=ham 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:07:44 -0800 (PST) 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