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


Groups > linux.kernel > #1321829 > unrolled thread

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

Started byPeter Zijlstra <peterz@infradead.org>
First post2016-01-29 16:30 +0100
Last post2016-01-31 01:30 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected Peter Zijlstra <peterz@infradead.org> - 2016-01-29 16:30 +0100
    Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-01-31 01:30 +0100

#1321829 — Re: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected

FromPeter Zijlstra <peterz@infradead.org>
Date2016-01-29 16:30 +0100
SubjectRe: timers: HARDIRQ-safe -> HARDIRQ-unsafe lock order detected
Message-ID<qWj9L-553-11@gated-at.bofh.it>
On Fri, Jan 15, 2016 at 03:14:10PM -0800, Paul E. McKenney wrote:
> And if I make the scheduling-clock interrupt send extra wakeups to the RCU
> grace-period kthread when needed, things work even with CPU hotplug going.
> 
> The "when needed" means any time that the RCU grace-period kthread has
> been sleeping three times as long as the timeout interval.  If the first
> wakeup does nothing, it does another wakeup once per second.
> 
> So it looks like this change makes an existing problem much worse, as
> opposed to introducing a new problem.

I have a vague idea about a possible race window. Have you been
observing this on PPC or x86?

The reason I'm asking is that PPC (obviously) allows for more races :-)

[toc] | [next] | [standalone]


#1322529

From"Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Date2016-01-31 01:30 +0100
Message-ID<qWO3U-3pb-11@gated-at.bofh.it>
In reply to#1321829
On Fri, Jan 29, 2016 at 04:27:35PM +0100, Peter Zijlstra wrote:
> On Fri, Jan 15, 2016 at 03:14:10PM -0800, Paul E. McKenney wrote:
> > And if I make the scheduling-clock interrupt send extra wakeups to the RCU
> > grace-period kthread when needed, things work even with CPU hotplug going.
> > 
> > The "when needed" means any time that the RCU grace-period kthread has
> > been sleeping three times as long as the timeout interval.  If the first
> > wakeup does nothing, it does another wakeup once per second.
> > 
> > So it looks like this change makes an existing problem much worse, as
> > opposed to introducing a new problem.
> 
> I have a vague idea about a possible race window. Have you been
> observing this on PPC or x86?
> 
> The reason I'm asking is that PPC (obviously) allows for more races :-)

;-)

I have been seeing this on x86.

							Thanx, Paul

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web