Re: [PATCH RFC tip/core/rcu 06/11] staging: remove all rcu headinitializations
From: Paul E. McKenney
Date: Tue May 11 2010 - 20:08:33 EST
On Tue, May 11, 2010 at 04:45:23PM -0700, Greg KH wrote:
> On Tue, May 11, 2010 at 04:33:01PM -0700, Paul E. McKenney wrote:
> > Remove all rcu head inits. We don't care about the RCU head state before passing
> > it to call_rcu() anyway. Only leave the "on_stack" variants so debugobjects can
> > keep track of objects on stack.
> >
> > Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@xxxxxxxxxxxx>
> > Signed-off-by: Paul E. McKenney <paulmck@xxxxxxxxxxxxxxxxxx>
> > Cc: Greg Kroah-Hartman <gregkh@xxxxxxx>
> > ---
> > drivers/staging/batman-adv/hard-interface.c | 1 -
>
> Is this safe to apply to my tree now? Or do you want to take it through
> your tree as it depends on other stuff?
Because the rcu_head in this case is not in an auto (on-stack) variable,
this commit is safe to apply to your tree now.
Let me know when you have applied it, and I will happily remove it
from mine. ;-)
Thanx, Paul
> If your tree, no objection from me, feel free to add:
> Acked-by: Greg Kroah-Hartman <gregkh@xxxxxxx>
>
> thanks,
>
> greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/