Re: [Bug 3.14.17] inconsistent lock state

From: Linus Torvalds
Date: Sun Aug 24 2014 - 23:13:56 EST

On Sun, Aug 24, 2014 at 7:53 PM, Lan Tianyu <tianyu.lan@xxxxxxxxx> wrote:
> Sorry about this. We are resolving the issue in the other bug
> report( and I have proposed a fix
> patch(

Ahh. Good. That patch looks fine to me, and while it makes me worry a
bit that some codepath expects the power/sleep button to be handled
immediately in interrupt context, I guess the actual callbacks have
never actually done anything but schedule other things to happen (ie
add events to some queue), and making the context be the same as the
other notify callbacks would seem to be a good thing regardless of
this particular bug.

Knut - can you please test the patch Lan pointed at? I realize it
doesn't seem to be entirely consistent for you (which is a bit
surprising, I wonder why lockdep doesn't trigger it consistently), but
it would be good to have more testing. Even if that patch looks
"obviously good" (tm) at a quick glance.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at