Received: by 10.192.165.148 with SMTP id m20csp932300imm; Fri, 27 Apr 2018 09:46:20 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqh0IoRNll5r8vuzCRAuByUK4kpNais6g+Ex2xSD3Rdo1WfCOJhE0aJiJI0DzVLVA4uy8oj X-Received: by 2002:a17:902:1682:: with SMTP id h2-v6mr2934251plh.127.1524847580849; Fri, 27 Apr 2018 09:46:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524847580; cv=none; d=google.com; s=arc-20160816; b=gIYOAqQnWuyZZ26OggveD8wdp0gtUJixh7YWXqz5vxzWgkT+qhV/fcdJkxwQHRUDX8 lNibsiQHumdUkfIbp0qORe/SVGZ6ZRsqmvy4MYnezHKkCVOCSq9s4q+uDT8SRXSJ6cT9 /VsvphToj855zqmQO+MLh2tOyVJmOFoH9dPmQOj7fef+nG0tRqZBLnwy26/xA6OlmSrQ 5zOr05fuIzqBPeRUYa2xjy9CYqX3E/CmK5/+3LdGd/3nIaorjRskQlG9DwHX6DeS8TV4 PPN0k4HrGr0ju23w4TIyfFZvWk3QfiztNO1CTfm9EB0vvFYmeNEb2/1awKuNkYV5HSNC 0yOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:subject:cc:to :from:date:arc-authentication-results; bh=6mnWLUSOfWs4imXStyt9M1Ikm+vTXz/1C0Bv+fWrNa4=; b=eq3f9iskXgetpKpE6pcP1OvV7yIf5/QV4pciNUoOPrYtLfAzm16q9RAVWreRomZi7q MD2qibAQqxMMo2isrSIROElfgYDag4r00XnmUcbDlrPdEuJdLozgjHAUs+zJkT+tR7uw bvwGanZhfRYBMq/8+O+Wdi7A7K4fvNDqKEy/SnDoijhvaOWu0fAIkdOK+57aw0+L0faM 9TXqyCKFiY6lJHCcbWpJVwWrEBFxamagQQ3dXUwlKCWDhDfpJNDv4QyxcIIlX7UPM9hO CWXk/XhZrQO4q/JNBGrETAxkNZlGkSebQ93f1IiBH9il5MeDvvPqx/RHuXg/d69bPnGS sUiw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p5-v6si1497720plk.537.2018.04.27.09.46.06; Fri, 27 Apr 2018 09:46:20 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932851AbeD0Qov (ORCPT + 99 others); Fri, 27 Apr 2018 12:44:51 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:34410 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758562AbeD0Qot (ORCPT ); Fri, 27 Apr 2018 12:44:49 -0400 Received: from pps.filterd (m0098399.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3RGilPB111156 for ; Fri, 27 Apr 2018 12:44:49 -0400 Received: from e18.ny.us.ibm.com (e18.ny.us.ibm.com [129.33.205.208]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hm4qegm8h-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Apr 2018 12:44:48 -0400 Received: from localhost by e18.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Apr 2018 12:44:43 -0400 Received: from b01cxnp22036.gho.pok.ibm.com (9.57.198.26) by e18.ny.us.ibm.com (146.89.104.205) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 27 Apr 2018 12:44:38 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22036.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3RGibpn58196202; Fri, 27 Apr 2018 16:44:37 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1D59CB2054; Fri, 27 Apr 2018 13:46:39 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.108]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id D971BB2058; Fri, 27 Apr 2018 13:46:38 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id A9F9216C196D; Fri, 27 Apr 2018 09:45:54 -0700 (PDT) Date: Fri, 27 Apr 2018 09:45:54 -0700 From: "Paul E. McKenney" To: Steven Rostedt 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 Reply-To: paulmck@linux.vnet.ibm.com References: <20180427042656.190746-1-joelaf@google.com> <20180427155701.GL26088@linux.vnet.ibm.com> <20180427122201.75abc313@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180427122201.75abc313@gandalf.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18042716-0044-0000-0000-0000040C3FD9 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008932; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000257; SDB=6.01024091; UDB=6.00522853; IPR=6.00803321; MB=3.00020809; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-27 16:44:42 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042716-0045-0000-0000-0000083E4234 Message-Id: <20180427164554.GO26088@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-27_05:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1804270161 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Apr 27, 2018 at 12:22:01PM -0400, Steven Rostedt wrote: > On Fri, 27 Apr 2018 09:14:30 -0700 > Joel Fernandes wrote: > > > > Hmmm... Do I need to create a _notrace variant of srcu_read_lock() > > > and srcu_read_unlock()? > > > > 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. ;-) Thanx, Paul