Re: [Cleanup PATCH] rcu: Do not use rcu_read_lock_held when callingrcu_dereference_check

From: Michal Hocko
Date: Fri Jul 08 2011 - 12:30:44 EST


On Fri 08-07-11 17:57:52, Michal Hocko wrote:
> On Fri 08-07-11 08:48:29, Paul E. McKenney wrote:
> > On Fri, Jul 08, 2011 at 03:57:39PM +0200, Michal Hocko wrote:
> > > Hi Paul,
> > > I guess that this falls down to your area because the code, even though
> > > it touches multiple areas, is RCU specific. Let me know if I should
> > > break it into smaller pieces or that I should push it through other
> > > trees.
> > >
> > > git grep -n -A3 "\<rcu_dereference_.*check" doesn't show any other
> > > variants to be "affected".
> >
> > Hello, Michal,
> >
> > Good catch, thank you!!!
> >
> > Could you please break this up by maintainer?
>
> OK, will do.

Hmm, thinking about it some more. Wouldn't it make more sense to push
this through trivial tree (CCing Jikos)? Having 5 or so patches with the
exactly same changelog sounds overkill to me.

What do you think? Could you give me your Acked-by if you are OK with
it, please?

Just for reference the original, patch:
---