Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp498311rdf; Tue, 21 Nov 2023 08:12:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQsAdE8tPfNw6FOR3A/mpHTD/YnEEBaV7uvIN7vYNRlrKrLaT8P7j0BhPesRB2vkMv0Cul X-Received: by 2002:a17:902:6a8c:b0:1cf:5362:7e79 with SMTP id n12-20020a1709026a8c00b001cf53627e79mr10914589plk.20.1700583162866; Tue, 21 Nov 2023 08:12:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700583162; cv=none; d=google.com; s=arc-20160816; b=s4b9x7uY0ap62FElEvdyQQGdhrfKIiGba34KUVlBZhpv/Kg8thrMYOmkK0ICDCuYA/ Iivvy8pPo0XO0yTBRs8jv7P/cXJGdaKYQYVGe01V4Iz6Ym5heIx5zc1F7OswWS6KW6au 8N624k1KpX7Jp0VLCiieX6UXs7gCRtUHBIIlF0aPl+Iq+W4deiWajNAsLwedMAeWYhRm WWeBrhZisG/Z67pS4RdObCW0xDI5XSZY9Ap4y9UKrV0Lzz1ShWQlXCibGjMCRZd3KQZ8 ckxtOiYbrh4Vt0K4tLTFTLYfwue9qQzwUx0+oYC1meuz/XW+LKmvgXdWlHYNUuhEjDkh BQbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=ndzvp0GCISTpwrDNB5Fxfv4JG4Q+8c29WWHwMZXl3DU=; fh=NVxhMQ6WRajnxA/GZGpI51QUHNWoP9VN5jQwjxLiPDc=; b=reiW5eFy2XkgHhRuACXurbuQXHp2627nZDkpPksSiBKvWWG4DQU9IX+eLqd/dDaZ9k omgM3OQh6HT6qqQw1QelxEusc85sihw/OWJwiaBHYvStSUW090b/8F5X3LlFAhgjRj/H zIrnRVyACRn63PqCQYj5LnFXMGCJSoG6QdjG77XihYAD5no/slqegB0GYpjHWCK5JxRd if44HNT23tif7UAgogEh+pPThL90bNqsqzKwnNkskOw7OGEYZKzZjh4ub6OiTW0IfTSf /7plITIYEgWJG8luewg2aGqJpAn+6CHfFVPcayqIS/HAWBenqsjS0VqBM5/QE3nLayP6 Z4vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=b04vGaVk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id u30-20020a63235e000000b005be095b2545si10404452pgm.183.2023.11.21.08.12.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:12:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@efficios.com header.s=smtpout1 header.b=b04vGaVk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=efficios.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id A10388031014; Tue, 21 Nov 2023 08:12:10 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229749AbjKUQLp (ORCPT + 99 others); Tue, 21 Nov 2023 11:11:45 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229514AbjKUQLo (ORCPT ); Tue, 21 Nov 2023 11:11:44 -0500 Received: from smtpout.efficios.com (smtpout.efficios.com [167.114.26.122]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67B52194; Tue, 21 Nov 2023 08:11:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=efficios.com; s=smtpout1; t=1700583099; bh=DmMeP04wWvVJ9Ig1UHO9FEjPRaZJhRzoI9mQxgdM5yU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=b04vGaVkAFuqvUyKimip1PQQQ2lSohFtEsRhADtFH6XYosHXu+5Qhy7+E7ImM082b Zl+KRIX8Ra+60eI0lQDe3ezXLq0/kf8qR1yUhweS+0xFzPtEekT9J5e08jovOpbHg9 DaXb24JPyAwbzqhEmYV6/cKp0JYNwATJAT3ci9PgPrhYTnqPMwrLECly610kdfgp6l 6uQe1seqFnZV1Ku2eBwOa7Rwn62y8XF+G2h8coEvNsM0iFfjbfjhtJAFjhQhZv/PXq 50MO23aEX5NozfES6R4Yo6YvV+zWOfOlHVfPGMbAuCUTLT/O9YwLMfzgreJC5n21N2 74qDXj8kqY4sQ== Received: from [172.16.0.134] (192-222-143-198.qc.cable.ebox.net [192.222.143.198]) by smtpout.efficios.com (Postfix) with ESMTPSA id 4SZTs7040Zz1cmd; Tue, 21 Nov 2023 11:11:38 -0500 (EST) Message-ID: Date: Tue, 21 Nov 2023 11:11:57 -0500 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v4 1/5] tracing: Introduce faultable tracepoints Content-Language: en-US To: Steven Rostedt 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 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> <20231121110753.41dc5603@gandalf.local.home> From: Mathieu Desnoyers In-Reply-To: <20231121110753.41dc5603@gandalf.local.home> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,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 agentk.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 (agentk.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:12:10 -0800 (PST) On 2023-11-21 11:07, Steven Rostedt wrote: > 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? Correct. And unlike preemptible rcu, tasks-trace-rcu allows calls to schedule which do not provide priority inheritance guarantees (such as I/O triggered by page faults). Thanks, Mathieu -- Mathieu Desnoyers EfficiOS Inc. https://www.efficios.com