Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp490534rdf; Tue, 21 Nov 2023 08:03:41 -0800 (PST) X-Google-Smtp-Source: AGHT+IFdCiMh/TcMZPDeUtNo/FOnZP8Co1QkT8NSoYQNeL05qYxEM0F4p0QuTR+BxWITyu9QZvZY X-Received: by 2002:a05:6830:11d9:b0:6d6:4b8b:baf1 with SMTP id v25-20020a05683011d900b006d64b8bbaf1mr11831446otq.23.1700582621026; Tue, 21 Nov 2023 08:03:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700582621; cv=none; d=google.com; s=arc-20160816; b=wyb6B4q3QiSYBoYfgKjkUrQdj0gjkTwLLd/CvJ3wr71Av9byqjOddecUuytCV2FmPd trM37oikYPCm6D4be/hAK2+ZRgQZhNe9CxgzCArmefW+tsYZK20uAjILErYSbGeSTYds LEIeVz/WRSMO/BYuGgqHaUyHLDseav6ryg5pFuM+fOGgqWXKkyZPsfXKapwMT/LNypaZ KhpMau7H2GKzzY/U+yJ2DFfCcmC7bSfLyExykEfItE3e7r2FKb/X25lkLIF9555zQ0vW mYHsKkIpv/XjR3fn/1wYxAs/EXXOOGppwiVTJEch4Oqg1PIPWr7Nwe5/V8fek40dry0N hBpg== 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:message-id:subject:cc:to:from:date:dkim-signature; bh=xrV8w2QzC0MyzNqKKokweVMq304wzVwsffOY7txoyDw=; fh=tkL3jDD5YtxKGjIuGdSmFwwrnohHV8gPoUcW+brgpK8=; b=utJvIVeAjneByj2n74SnnQWIzUYn0HtjNTlE4QBNjfXd4VpUgojTPCQj+r/sEVXVZC Wx66PnS2JWUMz1qcXe99n3ZqTwYmjlB6nHRVQB9TZP64S3rxhS2zRXOleCsP6CPmpulP TOzhmHzaWIydHYfkDbFDSzqXaRhWZQcQ3S4Ri6U9womVQgWZMDhP3vS5NwiIVFwWCs/C foD+ZnGRoaxMjgWnvw9GImhogc6mltUybbmeRnON51x8K33u8rUilvJRNt4e16XJ2LA1 IaEXiS6/DS/62FOmq90Q4iZftzL3MdE+pWJMFybaY/+7VUEzl3X5h9ih8yPifVfqdHXF Qv/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=pxLYa1yv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id p8-20020a9d4548000000b006bf250b283csi3769217oti.77.2023.11.21.08.03.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 08:03:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=pxLYa1yv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 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 lipwig.vger.email (Postfix) with ESMTP id 0F82E8028695; Tue, 21 Nov 2023 08:03:33 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234862AbjKUQDY (ORCPT + 99 others); Tue, 21 Nov 2023 11:03:24 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231439AbjKUQDX (ORCPT ); Tue, 21 Nov 2023 11:03:23 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D1E2C12E; Tue, 21 Nov 2023 08:03:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=xrV8w2QzC0MyzNqKKokweVMq304wzVwsffOY7txoyDw=; b=pxLYa1yvNDM7PJ4z90aSWcYO8I l/UHXMGWJ1cglHpMgDCh0p2U9xJovVfw+drVFc7z2ve2C1zZ5bch4lBgGsmnBo7W1/1boh70Pa/il 72JF7494XgFbRvJ95WfuzljmOM0xu6FPIhGWyxJOzIu1hHHvDv/cAQ7UolXdwBDXip+lzhPgDYrN5 b5dFOOTkQhcDaAlszc2U8MgmrXNLe/w9EVT1OQt+EujAKRMboYeXqeoazUEapaarghC+k6LQAOQf0 oNUqZB933q6t1Bp/q3rnkZCx9CfQD1SKeGTeyAj/1MywbiYJu7ZjqKAE6LbhXwBg200pMewLpmFl6 IfJxLCGg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1r5TDJ-00BUZT-2S; Tue, 21 Nov 2023 16:03:02 +0000 Received: by noisy.programming.kicks-ass.net (Postfix, from userid 1000) id 64251300338; Tue, 21 Nov 2023 17:03:00 +0100 (CET) Date: Tue, 21 Nov 2023 17:03:00 +0100 From: Peter Zijlstra To: "Paul E. McKenney" 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: <20231121160300.GK8262@noisy.programming.kicks-ass.net> 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> <2a41f6cd-971d-4360-aeeb-a9cbf665bb72@paulmck-laptop> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2a41f6cd-971d-4360-aeeb-a9cbf665bb72@paulmck-laptop> 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 lipwig.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 (lipwig.vger.email [0.0.0.0]); Tue, 21 Nov 2023 08:03:33 -0800 (PST) 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 ?