Messages in this thread | ![/](/images/icornerl.gif) | | Date | Mon, 7 Sep 2020 13:46:18 +0200 | From | peterz@infradea ... | Subject | Re: [BUG RT] dump-capture kernel not executed for panic in interrupt context |
| |
On Mon, Sep 07, 2020 at 12:51:37PM +0200, Joerg Vehlow wrote: > Hi, > > I guess there is currently no other way than to use something like Steven > proposed. I implemented and tested the attached patch with a module, > that triggers the soft lockup detection and it works as expected. > I did not use inline functions, but normal function implemented in > kexec_core, > because there is nothing time critical here. > I also added the mutex_lock to the trylock variant, because then the unlock > function can be the same for both lock functions. > > What do you think?
I think it's too complicated for that is needed, did you see my suggestion from a year ago? Did i miss something obvious?
| ![\](/images/icornerr.gif) |