Received: by 10.192.165.148 with SMTP id m20csp934212imm; Fri, 27 Apr 2018 09:48:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqJ+Lw5w9mO516FfGEV4F7V56B04/98/w+c8rhO38Xk9/aUK2FkRmUOroTKJ3I5i4afI6vC X-Received: by 2002:a63:41c5:: with SMTP id o188-v6mr2663466pga.7.1524847696829; Fri, 27 Apr 2018 09:48:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524847696; cv=none; d=google.com; s=arc-20160816; b=oQ9zB9GT15/GXgQiOKPid+yQ6FQSSz3wp/5NY21VAuEv+xbvlkWuOkMBUb4As0hSBO THAlWIPb7bcjCvHyxmZuO8X3g+/t3DVtziS72GjqNZ//aCuehNmw9qsDPqN472i/FRrm begDgFQypztQr6RA0snOIAQPLTH+KzL2Cm4aqZJcqmJ50YebTrrleYhu5BoNWOEUazNU mwlJ9OZJd9GnthT8lj3e0na9gXjg4mM6lhGfvakdQ1ELZRSnJWF9x4v27KWxNX8xXqNu jJeHT5SrqesaUCPwyrfVuyknHQiOexuy8ZU9IP79vI6O/NWqzXo0qzWMmmo0t7lrmlog 6nTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=5d8VanDrN9GzWkaCm4bbxVnsl9joIVmQmp1Ra9taW/c=; b=gobf9hG4f5TaLmo9eUOV3iiCxqBGjXNcmqEv3ExbcQWqymHlqmJu2U+LMz/gGlMeJP oqQR8X/r4Eb7+CBUhhU6vZ9JOSyBmA4As7Ayz6eMgstJFWr7ZcV1btuVw+T1iuzD8zPz NOZc75NM1Dqqs6aV4Rr/kcApMM+VhxvmJCejZWqFg736atMD4eQtt4CL+2DzcbCupjpi NBbDUzNdpeDmc36c6e8vYtRpjQ6VIIllUMqI3v+zNSF3cnL0AEbHc44q4c0AXdybqTBo BOFPCgqtkxNxVvHZhctrmdz8v8csSM3lxR5Nk7NSXDwZHI1U6mcmqYd0ufnpN/6WKwEu yFLg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h10-v6si1514303pgn.30.2018.04.27.09.48.01; Fri, 27 Apr 2018 09:48:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758696AbeD0Qqq (ORCPT + 99 others); Fri, 27 Apr 2018 12:46:46 -0400 Received: from mail.kernel.org ([198.145.29.99]:54102 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758554AbeD0Qqp (ORCPT ); Fri, 27 Apr 2018 12:46:45 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4CDCC2188E; Fri, 27 Apr 2018 16:46:43 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 4CDCC2188E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Date: Fri, 27 Apr 2018 12:46:41 -0400 From: Steven Rostedt To: "Paul E. McKenney" Cc: Joel Fernandes , LKML , Peter Zilstra , Ingo Molnar , Mathieu Desnoyers , Tom Zanussi , Namhyung Kim , Thomas Glexiner , Boqun Feng , Frederic Weisbecker , Randy Dunlap , Masami Hiramatsu , Fenguang Wu , Baohong Liu , Vedang Patel , "Cc: Android Kernel" Subject: Re: [PATCH RFC] tracepoint: Introduce tracepoint callbacks executing with preempt on Message-ID: <20180427124641.7b991c57@gandalf.local.home> In-Reply-To: <20180427164554.GO26088@linux.vnet.ibm.com> References: <20180427042656.190746-1-joelaf@google.com> <20180427155701.GL26088@linux.vnet.ibm.com> <20180427122201.75abc313@gandalf.local.home> <20180427164554.GO26088@linux.vnet.ibm.com> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 27 Apr 2018 09:45:54 -0700 "Paul E. McKenney" wrote: > > > That shouldn't be needed. For the rcu_read_lock_sched case, there is a > > > preempt_disable which needs to be a notrace, but for the srcu one, > > > since we don't do that, I think it should be fine. > > > > Actually, I think I may agree here too. Because the _notrace is for > > function tracing, and it shouldn't affect it. If people don't want it > > traced, they could add those functions to the list in the notrace file. > > OK, feel free to ignore my notrace srcu_read_lock() patch, then. ;-) Of course I wasn't thinking about the lockdep tracepoints that Joel mentioned, which happens to be the reason for all this discussion in the first place :-) Now I think we do need it. (OK, I can keep changing my mind, can't I?). -- Steve