Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1310506

Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected
Date 2016-01-15 23:20 +0100
Message-ID <qRkSS-3Rl-3@gated-at.bofh.it> (permalink)
References (4 earlier) <qQVUu-3bt-13@gated-at.bofh.it> <qQW4a-3gr-13@gated-at.bofh.it> <qR1Gz-7or-17@gated-at.bofh.it> <qR9ur-4CR-33@gated-at.bofh.it> <qRjWO-3cE-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri, Jan 15, 2016 at 01:11:25PM -0800, Paul E. McKenney wrote:
> On Fri, Jan 15, 2016 at 11:03:24AM +0100, Thomas Gleixner wrote:
> > On Thu, 14 Jan 2016, Paul E. McKenney wrote:
> > > > Untested patch below.
> > > 
> > > One small fix to make it build below.  Started rcutorture, somewhat
> > > pointlessly given that the splat doesn't appear on my setup.
> > 
> > Well, at least it tells us whether the change explodes by itself.
> 
> Hmmm...
> 
> So this is a strange one.  I have been seeing increasing instability
> in mainline over the past couple of releases, with the main symptom
> being that the kernel decides that awakening RCU's grace-period kthreads
> is an optional activity.  The usual situation is that the kthread is
> blocked for tens of seconds in an wait_event_interruptible_timeout(),
> despite having a three-jiffy timeout.  Doing periodic wakeups from
> the scheduling-clock interrupt seems to clear things up, but such hacks
> should not be necessary.
> 
> Normally, I have to run for for some hours to have a good chance of seeing
> this happen.  This change triggered in a 30-minute run.  Not only that,
> but in a .config scenario that is normally very hard to trigger.  This
> scenario does involve CPU hotplug, and I am re-running with CPU hotplug
> disabled.
> 
> That said, I am starting to hear reports of people hitting this without
> CPU hotplug operations...

And without hotplug operations, instead of dying repeatedly in 30 minutes,
it goes four hours with no complaints.  Next trying wakeups.

							Thanx, Paul

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected Thomas Gleixner <tglx@linutronix.de> - 2016-01-15 11:10 +0100
  Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-01-15 22:20 +0100
    Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-01-15 23:20 +0100
      Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-01-16 00:20 +0100

csiph-web