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

From: Paul E. McKenney
Date: Thu Oct 08 2015 - 23:54:23 EST


On Thu, Oct 08, 2015 at 05:48:13PM -0700, Josh Triplett wrote:
> On Thu, Oct 08, 2015 at 05:11:11PM -0700, Paul E. McKenney wrote:
> > On Thu, Oct 08, 2015 at 11:01:14AM -0700, Josh Triplett wrote:
> > > 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. :)
> >
> > But but but... You are talking to someone who used actual PUNCHED CARDS
> > in real life in a paying job!!! ;-)
>
> And I learned on a DOS system with 80x25 text mode. Let us revel in
> wonderment at the capabilities of modern systems. :)

But of course! On my new 2880x1620 screen, I can put four 80x24 xterms
on each row!

Too bad that I cannot actually read them without an external monitor,
and my current external monitors are only 1920x1600. ;-)

Thanx, Paul

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