Received: by 10.192.165.148 with SMTP id m20csp860169imm; Fri, 27 Apr 2018 08:39:41 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp7RAFWzl8k1Py7q1Xkq8b01djaa36GrNCnCZAAAH+fHZQcNvacC8WmG6WUtlVjcmWnYzta X-Received: by 2002:a17:902:24c7:: with SMTP id l7-v6mr2831025plg.320.1524843581886; Fri, 27 Apr 2018 08:39:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524843581; cv=none; d=google.com; s=arc-20160816; b=ssPJwIoQDVWAaqHrhEpnvydtFLIj0XCF3F/Me+c44NlpclcnWUuPCkSRIsa7wC/Q/U wrWKOR+nNxSSSfepE2L/2xkDVBy3WitO1oqCOxKV3hsXnfJiDhCpXffmbkKqQcnBFVef qOE1hEkS0UdhTT6ZgyT4vteV+7blYqGNJyUJShDJfJHBRSA2h6nMVQmS6DmWHGhLgbbz bVRRlwq+NrTpT+IZJWR6g9bOLg46qJxl0pdhIpBR+uiZZyfw6xAEkH6P5x9jrj0/A96D EuOSpoWMlcSkqRL0YsbDrwGFLHa3rC2aH9nn5fbhsMSrDEjF6X54b++y5CLqOtn79G94 MhwQ== 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=Sfc+N3Ci90O3Uwd6e9ZlAb/dzni7hucH5rRtVvmZWlc=; b=DI9AFF0CabBZOyxaXarWvVAGJBObJRIGaZzD4GZZ/6hIUD2lOpmyZn+4Uc765wbaVn zpmY7NjIOadpsFQesuIeKNg1j2VSyJgrE3Hibn787itT0VyPWDkQvtYaki7dcXpTTaU0 cHrN3L67EgHaolmEtRmrRrDDq6bORrbrXdrQUnRHWGbdLPTQ2XBN9J2lCHj13WTwOMfi TGfoe9tXTw39yYK0YeN/m55UdAEHbYR0gN9qzQycGpz3pRTn41kGYFVA1tJWWzicFvVJ 820SbdicOypiH18ZeyRcnetBqWs7x4DZRDl6mQzdGGkBBHPhVXOkei9vx2KFTR/b6aqW TgFw== 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 f7-v6si1383879pgn.476.2018.04.27.08.39.26; Fri, 27 Apr 2018 08:39:41 -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 S932990AbeD0PhR (ORCPT + 99 others); Fri, 27 Apr 2018 11:37:17 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:53222 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932906AbeD0PhP (ORCPT ); Fri, 27 Apr 2018 11:37:15 -0400 Received: from pps.filterd (m0098420.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3RFZDAj104588 for ; Fri, 27 Apr 2018 11:37:15 -0400 Received: from e11.ny.us.ibm.com (e11.ny.us.ibm.com [129.33.205.201]) by mx0b-001b2d01.pphosted.com with ESMTP id 2hm4cce968-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Fri, 27 Apr 2018 11:37:14 -0400 Received: from localhost by e11.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 27 Apr 2018 11:37:14 -0400 Received: from b01cxnp22035.gho.pok.ibm.com (9.57.198.25) by e11.ny.us.ibm.com (146.89.104.198) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 27 Apr 2018 11:37:10 -0400 Received: from b01ledav003.gho.pok.ibm.com (b01ledav003.gho.pok.ibm.com [9.57.199.108]) by b01cxnp22035.gho.pok.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3RFb7vg55247014; Fri, 27 Apr 2018 15:37:09 GMT Received: from b01ledav003.gho.pok.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6B529B2046; Fri, 27 Apr 2018 12:39:11 -0400 (EDT) Received: from paulmck-ThinkPad-W541 (unknown [9.70.82.108]) by b01ledav003.gho.pok.ibm.com (Postfix) with ESMTP id 33827B2050; Fri, 27 Apr 2018 12:39:11 -0400 (EDT) Received: by paulmck-ThinkPad-W541 (Postfix, from userid 1000) id DDED016C196D; Fri, 27 Apr 2018 08:38:26 -0700 (PDT) Date: Fri, 27 Apr 2018 08:38:26 -0700 From: "Paul E. McKenney" To: Steven Rostedt Cc: Mathieu Desnoyers , Joel Fernandes , linux-kernel , Peter Zijlstra , Ingo Molnar , Tom Zanussi , Namhyung Kim , Thomas Gleixner , Boqun Feng , fweisbec , Randy Dunlap , Masami Hiramatsu , kbuild test robot , baohong liu , vedang patel , kernel-team@android.com 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> <1169911546.5820.1524839189395.JavaMail.zimbra@efficios.com> <20180427104747.2d965925@gandalf.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180427104747.2d965925@gandalf.local.home> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 18042715-2213-0000-0000-0000029A3992 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.01024069; UDB=6.00522840; IPR=6.00803299; MB=3.00020808; MTD=3.00000008; XFM=3.00000015; UTC=2018-04-27 15:37:14 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18042715-2214-0000-0000-000059EA15E5 Message-Id: <20180427153826.GK26088@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-27_04:,, 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-1804270149 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 10:47:47AM -0400, Steven Rostedt wrote: > On Fri, 27 Apr 2018 10:26:29 -0400 (EDT) > Mathieu Desnoyers wrote: > > > The general approach and the implementation look fine, except for > > one small detail: I would be tempted to explicitly disable preemption > > around the call to the tracepoint callback for the rcuidle variant, > > unless we plan to audit every tracer right away to remove any assumption > > that preemption is disabled in the callback implementation. > > I'm thinking that we do that audit. There shouldn't be many instances > of it. I like the idea that a tracepoint callback gets called with > preemption enabled. Are you really sure you want to increase your state space that much? Thanx, Paul