Re: snd_pcm lockdep report from 3.3-rc6

From: Dave Jones
Date: Mon Mar 12 2012 - 13:48:11 EST


On Mon, Mar 12, 2012 at 06:42:48PM +0100, Takashi Iwai wrote:

> No, the check above should be correct. The code tries to re-lock when
> the stream is linked like group-lock -> stream-lock.
>
> However, that code is known to be too tricky and messy for long time.
> It'd be really better to get rid of this complexity. I tried some
> times but failed to reach to the final goal due to lack of time.
>
> OK, let me respin my old patch. The refreshed one is attached below.
> (Note that it's totally untested. I have to leave my office now,
> sorry for that. Let me know if the wonder happens and it works :)

it certainly makes the code look a little simpler!
I'll run with it for a while, and see if anything falls out.

thanks,

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