From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754002AbcKULbo (ORCPT ); Mon, 21 Nov 2016 06:31:44 -0500 Received: from bombadil.infradead.org ([198.137.202.9]:49483 "EHLO bombadil.infradead.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753457AbcKULbn (ORCPT ); Mon, 21 Nov 2016 06:31:43 -0500 Date: Mon, 21 Nov 2016 12:31:31 +0100 From: Peter Zijlstra To: Jiri Olsa Cc: Steven Rostedt , "Paul E. McKenney" , 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: <20161121113131.GA3092@twins.programming.kicks-ass.net> References: <20161121005343.GB1891@krava> <20161121092850.GF3102@twins.programming.kicks-ass.net> <20161121093424.GA9814@krava> <20161121094227.GG3102@twins.programming.kicks-ass.net> <20161121112229.GA12974@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20161121112229.GA12974@krava> 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 12:22:29PM +0100, Jiri Olsa wrote: > On Mon, Nov 21, 2016 at 10:42:27AM +0100, Peter Zijlstra wrote: > > On Mon, Nov 21, 2016 at 10:34:25AM +0100, Jiri Olsa wrote: > > > On Mon, Nov 21, 2016 at 10:28:50AM +0100, Peter Zijlstra wrote: > > > > > > I think I prefer something like the below, that only annotates the one > > > > RDMSR in question, instead of all of them. > > > > > > I was wondering about that, but haven't found RCU_NONIDLE > > > > Its in rcupdate.h ;-) > > it was too late in the morning.. ;-) I'm assuming you'll queue this patch.. ? Probably, I still have to make pretty the uncore patch from last week, and I have a PEBS patch that needs looking at :-) BTW, if you have any opinion on that PEBS register set crap, do holler :-) lkml.kernel.org/r/20161117171731.GV3157@twins.programming.kicks-ass.net