Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp131668imm; Tue, 10 Jul 2018 22:59:14 -0700 (PDT) X-Google-Smtp-Source: AAOMgpcv5WWMa6KJRweIKWMn0+uqm5M3IBVHHICHmS6qrtj+gzC/SE+eHrRc25pyUmQhCBhyllFv X-Received: by 2002:a17:902:b612:: with SMTP id b18-v6mr27141052pls.131.1531288754709; Tue, 10 Jul 2018 22:59:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1531288754; cv=none; d=google.com; s=arc-20160816; b=bY0IhUchWuNmeqo4w0UaBTDUNBl4QcNoGss9aTnsEG9RCwiMW4gzgH1EVv0htK7axb 5lhyjbsyNTqSR7h3ryf/aXdanBomAf99dXZacDfZkmUujfdnKNfmaF2rP0/uEPu1ukGe dZIruK94EQntJKn6VTOHj18GLHAXY1TQMmZb5amkXSKJOTSgyZlM50A/TEqJSIyberSp lvY8ga0BWXDl7BbisQSuDIZPdGInWuWcKtRBUorf/sf6MR/yoMqLJbhh0f4avrCbgSCP MA9DFakzxi8zPcibhfWZNWz5IkxnCzBW5/98giIBbfpC+ibos1Odzdc7Fl1reM1veFZc 20sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=4fDXxvG1p5wf1YmPcsYkYvI2rvtVCb9wb1qxYKFpiEg=; b=sl/c0Ob/je9xTq28mtbUsjK8jOQnShn9hQFcQJMHPghk2GNLTJmc8afECb03eCvlVK LR4fJ+8vlf/0vgkLxyATRjZ2oKNDvvEJQT/umdKFZDJJVa2u66ssqPyj+tNwsHqkaEg1 T2Rkj2AQTgxh16Jn47b+v1JqS1nOAuIk0M0WdK97dV3iDN1ody1gYZDY1yiMEhq15CJh JZR6cwACRuyht8k8OdFEZvln0Ofg6ZNqWbMTP3lHTnhqyyBDcXu0BMgc1gLgShqZotqN MeQbU/T77omZMtCu6yUJCiKK1x3GDqoZYKE4qNKpcTCgLlUFdUBGs6EV/+3Fy7wCnBxo EPmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@joelfernandes.org header.s=google header.b=G5TAIZE8; 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 p83-v6si19492360pfa.180.2018.07.10.22.58.59; Tue, 10 Jul 2018 22:59:14 -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; dkim=pass header.i=@joelfernandes.org header.s=google header.b=G5TAIZE8; 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 S1726538AbeGKGAr (ORCPT + 99 others); Wed, 11 Jul 2018 02:00:47 -0400 Received: from mail-pl0-f67.google.com ([209.85.160.67]:35955 "EHLO mail-pl0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726199AbeGKGAr (ORCPT ); Wed, 11 Jul 2018 02:00:47 -0400 Received: by mail-pl0-f67.google.com with SMTP id a7-v6so8677668plp.3 for ; Tue, 10 Jul 2018 22:58:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=joelfernandes.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4fDXxvG1p5wf1YmPcsYkYvI2rvtVCb9wb1qxYKFpiEg=; b=G5TAIZE87G8inkzlkfXuZREWSP3FbaQS4pw1+itGhZCwbDyBa8TVjGqTog1s0F4FYs iS8wLeCpLbpGl8kOPchvNgYT3w8WUgJ8hdGccSTfPv1GC3fZrDgoIrSncZhBnfDiBCNg Siax7E/F8lODVHNkBGxx3p8djFQkB2jTOQF60= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4fDXxvG1p5wf1YmPcsYkYvI2rvtVCb9wb1qxYKFpiEg=; b=G4MUgCI2m14L/LNglG89TxQLXF8qIP35moVPlC9YtAPnxe6F5RxFpo680nsVvW1mXP kXWD9zn1ls0Sm1PCAXGkcCR+Y5/C0v5uXSKXjGoAmqSLsPEy7yZoNP0DiHHlCwgwCRjL 4+l/PhwbstXo/xFpXVDFD/078d0cA7nQJJiQVaht0Amb3uUaHFzfVTFEgy6Aek8kyHs8 t5FLtX+2iKGZUxsBNEvPB1UxSDrX1yJ3Wqb4DS/isBLbdt5p/jzLDnaVlcTDf9NooTZH hvG7qF3C4ufLpMSI4Ao2KnsjMVRVkqDYHSPyjYxsv1ucKwQkxd369VlzlTs1vQt6XPpl tDrQ== X-Gm-Message-State: APt69E3g+ZHEkjmwGUpFx+spuc4Qb3IvzvtS2k1e1h3PLY+MwoIcQr9M BKLwYMjNgnU3wyE2/MVjSXwEew== X-Received: by 2002:a17:902:321:: with SMTP id 30-v6mr27995985pld.122.1531288690889; Tue, 10 Jul 2018 22:58:10 -0700 (PDT) Received: from localhost ([2620:0:1000:1600:3122:ea9c:d178:eb]) by smtp.gmail.com with ESMTPSA id d7-v6sm32344663pfa.51.2018.07.10.22.58.10 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 10 Jul 2018 22:58:10 -0700 (PDT) Date: Tue, 10 Jul 2018 22:58:09 -0700 From: Joel Fernandes To: Steven Rostedt Cc: Nicholas Piggin , Joel Fernandes , Peter Zijlstra , Ingo Molnar , Linux Kernel Mailing List Subject: Re: [PATCH] tracing/irqtrace: only call trace_hardirqs_on/off when state changes Message-ID: <20180711055809.GA16473@joelaf.mtv.corp.google.com> References: <20171116161506.19691-1-npiggin@gmail.com> <20180501144620.1e832a09@gandalf.local.home> <20180501191951.GJ12217@hirez.programming.kicks-ass.net> <20180501153840.7281022a@gandalf.local.home> <20180501194838.GK12217@hirez.programming.kicks-ass.net> <20180501160059.6df6aae4@gandalf.local.home> <20180502101214.746650bc@roar.ozlabs.ibm.com> <20180710214457.480826ab@vmware.local.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180710214457.480826ab@vmware.local.home> User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Jul 10, 2018 at 09:44:57PM -0400, Steven Rostedt wrote: > On Wed, 2 May 2018 10:12:14 +1000 > Nicholas Piggin wrote: > > > > I have mixed feelings about this patch, I am Ok with this patch but I > > > suggest its sent with the follow-up patch that shows its use of this. > > > And also appreciate if such a follow-up patch is rebased onto the IRQ > > > tracepoint work: https://patchwork.kernel.org/patch/10373129/ > > > > > > What do you think? > > > > I'll try to dig it up and resend. Thanks for the feedback on it. > > Joel, > > With your latest patches, is this obsolete? Yes, that's right. This patch isn't needed for what I was doing (improving the performance of the irq disable/enable path). I didn't see any performance improvement with this patch. Instead, the patches in my series use SRCU to improve the performance of the tracepoints. thanks, - Joel