lkml.org 
[lkml]   [2013]   [Nov]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: kernel BUG at drivers/md/raid5.c:693!
On Mon, 25 Nov 2013 10:53:23 +0100 Peter Zijlstra <peterz@infradead.org>
wrote:

> On Mon, Nov 25, 2013 at 10:35:22AM +1100, NeilBrown wrote:
> > Ingo/Peter: is it considered OK to call wake_up while holding a spinlock?
>
> Yes, very much so. Doing a wakeup isn't _that_ expensive.

Oh good. Thanks.

>
> > Could "sleeping spinlocks" affect this at all? (some sample stack traces are
> > below).
>
> Not entirely sure, are you referencing to -rt where me make spinlock_t
> pi-mutexes?

I'm not sure either. Just stabbing in the dark really.

The stack trace in the previous email seemed to suggest that a process was
blocking inside a wake_up call, but it wasn't at all conclusive. And I've
seen a few wake_ups in other stack traces which seem to be connected with
other deadlock. Probably some sort of co-incidence.

Thanks,
NeilBrown
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2013-11-26 05:41    [W:0.075 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site