Received: by 10.192.165.148 with SMTP id m20csp3580459imm; Mon, 23 Apr 2018 08:52:24 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+jfCmdzHXUCZg7NPR9wlKsnwL0oXYTS7hqOMZIOKmQY/IC0GfTqJspH8pDEyXww9wLz2Tq X-Received: by 10.98.208.195 with SMTP id p186mr20550895pfg.250.1524498744162; Mon, 23 Apr 2018 08:52:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524498744; cv=none; d=google.com; s=arc-20160816; b=QPuYz/wPU2zfOfa83Aa1oL1HjM3qCXrAqyYoWJ6HNtnqGhMwf3WQFwX+eJ+O0qDUAC vekfyux4oXkv5X9WwAP1z8Pv0bQ54C8mHx2e4Ohc0N+ZBpF2ev663TIHLIVHI4TBfX48 5dK6AP7fGO9tzDaYDGTuzmrtFfpmyZhp+WqpsXFsblNEPz54dB/lt34T92mLLIvAqe65 MPGRkAD0f1jC/6lCGlOR12WvUW3+uH0CNxUDtiw4GezW7uUcpFR+eVVbWUBNn9Wr9fZ7 8l/QsEshIcdhV12EmuKs2Ib1I4+2TEKimCLNCGYJMvocMBC2wq5bAVxnCWFVpNX6FMzL d9Bg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=sowduUQ9lptdjJvJLYDI5lgTYqsG53doywE1xHRjgoQ=; b=v/+BP3BHbb71zbFupJ7QwwDjjQNRjrdrcR+1t6a+6wPnK7xH8pGyHNSaYoC5PMollc YfqbRLHf1mrTfVnJ6K0ZslxxVRxVQpVsClCG9tMlNsUzJWK8KX//U/S7buEL4qUdXwQu 56iCY3D+S4PrfAWHDy1J8xxfg5mUbDij1ZWNvG8u8yfMm8THvSR8G92qjjZtPT4rsmZI 2yMTPcQPDpN1LLmt/EohxMavlgS9ulfhHuH/T2xfB6ZFMDtwM2VOy8VmaJcV/hH6nrJS mAVDCG1sC91faHZagLWKysF4wUpeW93NoX8R26jdxXI5dV9Ll4sQK2sEVpjzpKWZZZ7N IR1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=Xc3MMJUV; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e13si10038238pgn.420.2018.04.23.08.52.09; Mon, 23 Apr 2018 08:52:24 -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=@google.com header.s=20161025 header.b=Xc3MMJUV; 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=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932137AbeDWPt2 (ORCPT + 99 others); Mon, 23 Apr 2018 11:49:28 -0400 Received: from mail-it0-f53.google.com ([209.85.214.53]:52364 "EHLO mail-it0-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755897AbeDWPtS (ORCPT ); Mon, 23 Apr 2018 11:49:18 -0400 Received: by mail-it0-f53.google.com with SMTP id f6-v6so11584759ita.2 for ; Mon, 23 Apr 2018 08:49:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=sowduUQ9lptdjJvJLYDI5lgTYqsG53doywE1xHRjgoQ=; b=Xc3MMJUVNzYK7uda+12leVfQwqD64sl9aWPq3kCRHkyX4wMPuQ+w6hbljO/QUQpd7/ 2Fuhd7zh5GUPZ8OE9uZg//NlmGWTNIQ/0ilswAREE70Yj4m7yC7Qdu8+oWq/mD8Ru4rO 0pIEEMMfy4Y4FNtg8AeYKRgiQ4VlWy8G0ITGop41V83v8NdQ0wowhTiq3em+tlpNJliA 4whRuLDJsNf3JtAsMi+2VLTVKYFe4qOraOV/ljNfU6wWodwmMTqps6dCV9OTOzUQXvgH MdP8tF5pcCc7kdLrEk5BPo8gdS9PW97JJhNOPwXwc2WPEFLEci3Jltnj16Fmdy3Uwh0i XPsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=sowduUQ9lptdjJvJLYDI5lgTYqsG53doywE1xHRjgoQ=; b=EwKOmGcbwt1VRVU8Fb0lkS9vxMKpw7KI/XN7pzstpEOEu9ADPY93875eq5YW+8J8+d Dp+YE0dJkeOwN1iSNhpsYYCW0HFXHV47k97ivbd5fSaXkilFEF/Gkr5Kw9qzzP0dm8QL 40w7abMyVI6h8I2xw50RkL1+M+bO/SL9pIyT9FCOeQyleb5+hOwbQk8Eb99xYdo0LFb9 M9UE4MrUKUCLCjGIZt3VF/XDsLhbfKhVt4nfgBrU3mbK4mzK9Bq5IzXVNF5Fo/UkSDDd WS/bWkfxm2ESVtnqFMKVds3Tor0tu0suC6moWupjQ2o+sl03a0LEsleATuv1CQR4om2v JJ8w== X-Gm-Message-State: ALQs6tCV3CrcW+sQqiz98DpbjmbuuMuNCT7t/Ayh6buJrmoaupfO1D3N i7AS0fHMristjgZoLDAN8p/pIifZNNp7P009g3+0+g== X-Received: by 2002:a24:464e:: with SMTP id j75-v6mr13747821itb.28.1524498557193; Mon, 23 Apr 2018 08:49:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.181.213 with HTTP; Mon, 23 Apr 2018 08:49:16 -0700 (PDT) In-Reply-To: <20180423105325.7d5d245b@gandalf.local.home> References: <20180417040748.212236-1-joelaf@google.com> <20180417040748.212236-4-joelaf@google.com> <20180418180250.7b6038dddba46b37c94b796c@kernel.org> <20180419054302.GD13370@sejong> <20180423031926.GF26088@linux.vnet.ibm.com> <409016827.14587.1524493888181.JavaMail.zimbra@efficios.com> <20180423105325.7d5d245b@gandalf.local.home> From: Joel Fernandes Date: Mon, 23 Apr 2018 08:49:16 -0700 Message-ID: Subject: Re: [RFC v4 3/4] irqflags: Avoid unnecessary calls to trace_ if you can To: Steven Rostedt Cc: Mathieu Desnoyers , "Paul E. McKenney" , Namhyung Kim , Masami Hiramatsu , linux-kernel , linux-rt-users , Peter Zijlstra , Ingo Molnar , Tom Zanussi , Thomas Gleixner , Boqun Feng , fweisbec , Randy Dunlap , kbuild test robot , baohong liu , vedang patel , kernel-team@lge.com Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Mon, Apr 23, 2018 at 7:53 AM, Steven Rostedt wrote: > On Mon, 23 Apr 2018 10:31:28 -0400 (EDT) > Mathieu Desnoyers wrote: [..] >> I would be tempted to proceed carefully and introduce a new kind of SRCU >> tracepoint rather than changing all existing ones from sched-rcu to SRCU >> though. > > Agreed. > >> >> So the lockdep stuff could use the SRCU tracepoint flavor, which I guess >> would be faster than the rcu_irq_enter_*(). > > Also agree. I also agree about careful proceeding with separate SRCU flavor and using that for few places first. Perhaps, if it works well once we can benchmark it then we can slowly convert the _rcuidle API users to this, since it seems from my testing those will benefit the most. thanks, - Joel