Re: bugsplat 3.6.7-rt18

From
Thomas Gleixner <hidden>
Date
2012-12-03 09:54:09
Reply to
Paul E. McKenney, 2012-12-01
On Fri, 30 Nov 2012, Paul E. McKenney wrote:
On Fri, Nov 30, 2012 at 04:15:09PM -0800, Frank Rowand wrote:
quoted
quoted
 Possible unsafe locking scenario:

       CPU0
       ----
  lock(rcu_kthread_wq.lock.lock.wait_lock);
  <Interrupt>
    lock(rcu_kthread_wq.lock.lock.wait_lock);
???

These are all spin_lock_irqsave() calls, so how would the interrupt
happen?  Or do these need to be changed to raw_spinlock_t?

Hmmm...  In include/linux/wait.h, doesn't struct __wait_queue_head
need to have raw_spinlock_t rather than spinlock_t?  Please try that
change and let me know what happens.
No. We can't do that. The reason is that some wait queue wakeups have
callbacks which can't be called with interrupts disabled on RT.

IIRC, I restructured the RCU code in 3.0-rt so it won't be affected by
this. I'll have a look.

Thanks,

	Thomas

Thread (6 messages) 6 messages, 4 authors, last reply 2012-12-03
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help