Re: [BUG RT] dump-capture kernel not executed for panic in interrupt context
From: peterz
Date: Sat Aug 22 2020 - 08:33:29 EST
On Fri, Aug 21, 2020 at 05:03:34PM -0400, Steven Rostedt wrote:
> > Sigh. Is it too hard to make mutex_trylock() usable from interrupt
> > context?
>
>
> That's a question for Thomas and Peter Z.
You should really know that too, the TL;DR answer is it's fundamentally
buggered, can't work.
The problem is that RT relies on being able to PI boost the mutex owner.
ISTR we had a thread about all this last year or so, let me see if I can
find that.
Here goes:
https://lkml.kernel.org/r/20191218135047.GS2844@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Kexec even gets mentioned:
https://lkml.kernel.org/r/20191219090535.GV2844@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx