Re: [PATCH tip/core/rcu 18/18] rcu: Better hotplug handling for synchronize_sched_expedited()

From: Josh Triplett
Date: Thu Oct 08 2015 - 14:01:26 EST


On Thu, Oct 08, 2015 at 08:19:03AM -0700, Paul E. McKenney wrote:
> On Thu, Oct 08, 2015 at 05:12:42PM +0200, Peter Zijlstra wrote:
> > On Thu, Oct 08, 2015 at 08:06:39AM -0700, Paul E. McKenney wrote:
> > > Please see below for the fixed version. Thoughts?
> >
> > > + __releases(rnp->lock) /* But leaves rrupts disabled. */
> > > + raw_spin_unlock(&rnp->lock); /* rrupts remain disabled. */
> > > + raw_spin_lock(&rnp->lock); /* rrupts already disabled. */
> >
> > What them 'rrupts' about? ;-)
>
> Interrupts when it won't fit. I suppose I could use IRQs instead. ;-)

In this particular case, "IRQs" works just as well; however, in general,
this seems like an excellent example of when to ignore the 80-column
guideline. :)

- Josh Triplett
--
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/