Re: [BUG] msr-trace.h:42 suspicious rcu_dereference_check() usage!

From: Paul E. McKenney
Date: Mon Nov 21 2016 - 06:00:12 EST


On Mon, Nov 21, 2016 at 10:43:21AM +0100, Peter Zijlstra wrote:
> 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?

Fair enough!

Thanx, Paul