From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753702AbcKUJnY (ORCPT ); Mon, 21 Nov 2016 04:43:24 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:35967 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753599AbcKUJnW (ORCPT ); Mon, 21 Nov 2016 04:43:22 -0500 Date: Mon, 21 Nov 2016 10:43:21 +0100 From: Peter Zijlstra To: "Paul E. McKenney" Cc: Jiri Olsa , Steven Rostedt , linux-kernel@vger.kernel.org, Ingo Molnar , Josh Triplett , Andi Kleen , Jan Stancek Subject: Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage! Message-ID: <20161121094321.GH3102@twins.programming.kicks-ass.net> References: <20161121005343.GB1891@krava> <20161121090225.GO3612@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161121090225.GO3612@linux.vnet.ibm.com> User-Agent: Mutt/1.5.23.1 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Nov 21, 2016 at 01:02:25AM -0800, Paul E. McKenney wrote: > On Mon, Nov 21, 2016 at 01:53:43AM +0100, Jiri Olsa wrote: > > > > it got away with attached change.. but this rcu logic > > is far beyond me, so it's just wild guess.. ;-) > > If in idle, the _rcuidle() is needed, so: Well, the point is, only this one rdmsr users is in idle, all the others are not, so we should not be annotating _all_ of them, should we?