Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp4133119imm; Mon, 6 Aug 2018 17:48:57 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdZ/r04A1XIE2e19FzF0Dre9Lal2N9iJll4lcO/YtwzjsJGxFLBcQMkTbe5hyGivK1HMy8g X-Received: by 2002:a17:902:9345:: with SMTP id g5-v6mr15803195plp.10.1533602937324; Mon, 06 Aug 2018 17:48:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1533602937; cv=none; d=google.com; s=arc-20160816; b=AOffjz1pkSrS8Pxr9y5VxUnPDcgUqmSSeMc80xPexQSxDukfONe8wvtwtXagr+i3dV N/HmMkWlRYj3xc18lksFCqeT4lA6pRaEg6kpSZ2rhxiQVcUbMAWHRWmbvrow48G3Mt5D adrKyy39DOFxyWyDHUSOoaA+wP6S6/QFiep/VTwimCIsf145LsiHbj+2aybvbs46NGbW Y3mUIUI/AAaaj1QVmVfI4sdVVSucrfvZgDnWVCnsakD1ywbihn8ukuBxpEUNO4ACZ5u7 OkptT078qELV40oMXpQQDuYUsl4BRsSndLQWpq5kwMNOAX1NrGCIeLGU1q9uJN/9Hypj GPOg== 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=CssHMhQnX4nuokqk36kmBZ7Cn6+uZ6BPziEHxT/eqps=; b=MZYBKMf2W/qhaRip9jxajA83CqAKFJ4a2R8mty7CXXUX9dOZsyka9N2XCbSU4oVrTH DKJPlAzkrVQng59EIwiTy4vT+1DjfIJTIuBvA7pHfxa7kF4EwEH3ZnBa3aHGxhDPNV1d LrP3dZEMUtaPneKTrv7t0O0KpzIrjzpK77BW0o8nM00m7NROT3UGxgNec+RktDiLT2UA pgKRZiOESYb2lk2cSf3vneOnKsl1+DcuNwirgQ9C4lBQWE0P0mA+R9eIwqyyiL/2v+cd w7+jXeaczcjBdk1/RiLPOQW6YLSU7dnCcuI5Vy62FU1X962HZdTbGrq/9b1/WCDb2knv x91A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=nMDVCarc; 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 e185-v6si13933994pgc.318.2018.08.06.17.48.42; Mon, 06 Aug 2018 17:48:57 -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=nMDVCarc; 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 S2387958AbeHGCzB (ORCPT + 99 others); Mon, 6 Aug 2018 22:55:01 -0400 Received: from mail-yb0-f193.google.com ([209.85.213.193]:41280 "EHLO mail-yb0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733264AbeHGCzA (ORCPT ); Mon, 6 Aug 2018 22:55:00 -0400 Received: by mail-yb0-f193.google.com with SMTP id q5-v6so2851434ybk.8 for ; Mon, 06 Aug 2018 17:43:20 -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=CssHMhQnX4nuokqk36kmBZ7Cn6+uZ6BPziEHxT/eqps=; b=nMDVCarc1+05aH52IPL2Ol1BB98ZU1hXAV/ofRchW5xrpp88bqDRrEBsUrg689ybtC 1cAlhoRFEU/WczWftKy9gjyJoU0iQTChe/ObpIvGKoo/fEvyN4sk6os9JIKu5fv94G2c 9xGgixWLQY60iveKpbcTCJBo6Gj9LLKvEj5n2shymUX0DLuL02rBHj8iSZFzd7B6jZJb PhGFuDHiGsy98YVx1aOaRiRUdejYYP9jeY+qtkR2DvoMSVTdbK7yt5RjCqJcrjOsj6F3 Dn0xnt6RdLuBW/eL0SppNtuhlj51v2rJ9yF/mWG6CPPQ9glBx6I5AKpKEBF0hRKG3/r6 l8ig== 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=CssHMhQnX4nuokqk36kmBZ7Cn6+uZ6BPziEHxT/eqps=; b=VPaouP03ZZVEr2/KCCIyDLlCrrMmL8M4Fo7p+S3Mks9tE2SpDZF46WwgBgFiZPjD5D XFKGd99p+hhlXDd1QYnZbE6mnc+XZ4PskjK9utWBJpsHFG5ZhDBR4nBPEbK1+o7Kxhm+ 6PPlagVjx7wZ2959wtm88t4FViJz8ngndov2ZAqgdsh4l9lBZ2A7mL5lwPKZgb9i75DC Va1V/bi8tOoYmXVav8dqVwIvlv0huzVDjG3ojFZLq80Pl5U6kNW9RGDbMxma16Gr5K9T oPC58OU8xi8O53RtEHuSRjvJ9zY0USZDGZBr1sZWPWYGArtiWSAmA2xFCxswqd+KZ7cc IrUA== X-Gm-Message-State: AOUpUlHOcGibKhZ1QvuV/POHOSTFirMUsBb/16LmAM5oJQFEfkBzckZO kbKKdmo2Bo2xVps+YyuYtY9xE4Az1L98QaKDEnIPkmHvkyE= X-Received: by 2002:a25:9185:: with SMTP id w5-v6mr8739591ybl.417.1533602599887; Mon, 06 Aug 2018 17:43:19 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a25:bfce:0:0:0:0:0 with HTTP; Mon, 6 Aug 2018 17:43:19 -0700 (PDT) In-Reply-To: <20180806155058.5ee875f4@gandalf.local.home> References: <20180730222423.196630-1-joel@joelfernandes.org> <20180730222423.196630-4-joel@joelfernandes.org> <20180806155058.5ee875f4@gandalf.local.home> From: Joel Fernandes Date: Mon, 6 Aug 2018 17:43:19 -0700 Message-ID: Subject: Re: [PATCH v12 3/3] tracing: Centralize preemptirq tracepoints and unify their usage To: Steven Rostedt Cc: Joel Fernandes , LKML , "Cc: Android Kernel" , Boqun Feng , Byungchul Park , Ingo Molnar , Masami Hiramatsu , Mathieu Desnoyers , Namhyung Kim , Paul McKenney , Peter Zijlstra , Thomas Glexiner , Tom Zanussi 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 On Mon, Aug 6, 2018 at 12:50 PM, Steven Rostedt wrote: > > With this patch applied, I'm constantly getting lockdep errors. Instead > of doing a full revert of the patch, I did this, which makes all those > errors go away. I may apply this for now, and we can revisit having > lockdep use the tracepoint code. But since it's currently always > enabled, I'm thinking of just leaving this as is. The macros are still > clean from Joel's patch. > > Thoughts? I like your patch. Thanks a lot for doing this.. It keeps most of the benefits of my patch while avoiding the issues with lockdep. I agree we can look at the remaining lockdep issue after. There were several lockdep issues with this patch that I fixed over the the months, but there's still the one that Masami reported that I believe you're also seeing. Once I'm back I'll work on figuring that one out. Could you pull in the fixes to the other issues I posted though? With that we should be good. https://lore.kernel.org/patchwork/patch/971104/ https://lore.kernel.org/patchwork/patch/971829/ thanks, - Joel