Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp521595rdf; Tue, 21 Nov 2023 08:46:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IF4HajjmQwt31WDf1QR6pMId54NB4A4t4nkxjYVc4pn2JgLLeBLJ1C9vu4O8BhpCJupTYOb X-Received: by 2002:a05:6a20:e129:b0:189:fd93:c9ba with SMTP id kr41-20020a056a20e12900b00189fd93c9bamr13027591pzb.17.1700585204008; Tue, 21 Nov 2023 08:46:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700585203; cv=none; d=google.com; s=arc-20160816; b=w9ALSIxPqVQu90KkO6w2tgt97uhkqOAcVPm+K3mK4eCFvSI8wWgVbdv5XtZXnVW7KW fu6G0Edvfu7H/eqsMETAnF5xR7Yhh3BAHsuwcVgOkd5CyhAsKlLS/QVixAb2WofoPW7l vmnI1wQw/FRnqDiREng0mhkQR8px5zOeXe+Pjt02frflgypSI6+mFoaSZStf7EprpyQ5 sgaYfonMelhJL9tZ4PUMI8hqRb59qsJ9a0mpp7SvZn8sOxspdFiGnXSUpui4Ro2aBCko QQDbeDIjJPzb8jSNk4q+9DikH7VZg1uDP+Y46QIWCJcuo+Fb1Fi07BrQMxEjX8l6qOfv WUqQ== 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=k1zdcn1+1PMcFCtWDtoRgkzHTRKmBu+e50KCK7CcEiw=; fh=7WdIjnk0GNuVJ8AMOdUE55QExF/wyJClntY/rjhqc0A=; b=AI+WUnvbfnqmACmeC+RbZFMRv97jKeJ4vv3I0ia13WK31YW0qNMUt8P4CLTOnSQUmV KbKSxzlM2HuDsR1GQ18eHDsTLOosqTfqU6XOXo45UeYir2GvuJQ+oMNTaVyaB/g1raDj rS0tLMRuug8T3qvNcbFgUEJtG/z7bZRv4Q+bJwIUv4D54VwkX0EJooonAMWMCEt8wB21 27BidiGjRYZjRCjCVH/JYtxv+V7ggV2gMawjgKfSUzjAboq+Gg3ZT38tWQQ1f4I10Zj4 Ha+xlfBXE8WBvR99qSj6azDTfCViNKLqCEAhbyvz5foHMue5cInMWRbWYA5ns2RRzFAR Ccxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IqCUOi35; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id b5-20020a056a000cc500b006cba60de063si4453470pfv.22.2023.11.21.08.46.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:46:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=IqCUOi35; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 381E5809C184; Tue, 21 Nov 2023 08:46:41 -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 S230420AbjKUQqf (ORCPT + 99 others); Tue, 21 Nov 2023 11:46:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233718AbjKUQqd (ORCPT ); Tue, 21 Nov 2023 11:46:33 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 93AD5E7 for ; Tue, 21 Nov 2023 08:46:29 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2CA5BC433C7; Tue, 21 Nov 2023 16:46:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700585189; bh=LY9xRQ7JdmDXMRG582U6DyHNCMi3KaOSsQGtTke5vAo=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=IqCUOi35WWq2rNmviBVSnzbjGvfAO+tf3QCsWcTiQp4AZOHunoRJtfT7KvtCp23hI B6DV2bZzzN7+y6OakH7MB/Ih48KO23fGFEJjxbC6A4QsFLPuHYLrQvHJl8AmeCenSZ zUekNkAX3E5wdpEDeTqLCZTFoRkKM/ueCpL1q/zEqjt9UEap7idMRGsCTrGSna12fI E0hQpX2C+DC11lrCzN03OfE3jpqIehwfCJKPug7wgZ8WFd3keNkQBSgbceHu6k4WTb u1bbzMHVpxR3rCcep8tTlCFGLIkFNC8jgGzCWmvztbejvAAn/LQglXKeQ7L9g4J/qO Uv1vwOmAt8ciw== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id C678BCE04C0; Tue, 21 Nov 2023 08:46:28 -0800 (PST) Date: Tue, 21 Nov 2023 08:46:28 -0800 From: "Paul E. McKenney" To: Peter Zijlstra Cc: Mathieu Desnoyers , Steven Rostedt , 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: <017aff1d-70cc-4c0c-a05c-aad4329068e7@paulmck-laptop> Reply-To: paulmck@kernel.org 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> <2a41f6cd-971d-4360-aeeb-a9cbf665bb72@paulmck-laptop> <20231121160300.GK8262@noisy.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231121160300.GK8262@noisy.programming.kicks-ass.net> 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:46:41 -0800 (PST) On Tue, Nov 21, 2023 at 05:03:00PM +0100, Peter Zijlstra wrote: > On Tue, Nov 21, 2023 at 07:58:40AM -0800, Paul E. McKenney wrote: > > > Tasks Trace RCU allows general blocking in its readers, not just the > > subject-to-priority-boosting blocking permitted within preemptible RCU > > readers. Restrictions on the use of Tasks Trace RCU are in place to allow > > getting away with this general blocking. Even systems generously endowed > > with memory are not going to do well when the RCU grace period is blocked > > on I/O, especially if that I/O is across a network to a slow file server. > > > > Which means a separate RCU instance is needed. Which is Tasks Trace RCU. > > Separate instance not a problem, nor really the question. > > What is the basic mechanism of task-tracing? Is it really the existing > tasks-rcu extended with read-side critical sections and call_rcu ? > > If so, then why not have it be tasks-rcu? > > Or is it a variant of the preemptible/SRCU class of RCUs that are > counter-array based? I suspect not. > > So once again, what exactly is tasks-tracing ? I think we covered this elsewhere in the thread, but if there are lingering questions, you know where to find us. ;-) Thanx, Paul