Re: [PATCH 5.10 3/3] panic, kexec: make __crash_kexec() NMI safe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/03/23 16:51, Greg Kroah-Hartman wrote:
> On Thu, Mar 02, 2023 at 12:25:02AM +0800, wenyang.linux@xxxxxxxxxxx wrote:
>> From: Valentin Schneider <vschneid@xxxxxxxxxx>
>>
>> commit 811d581194f7412eda97acc03d17fc77824b561f upstream.
>
> No it is not :(
>
> Also, why is this needed for 5.10.y?  PREEMPT_RT is not in 5.10, right?
>

The mutex_unlock() might end up waking a waiter, and wake_up_process()
really isn't NMI safe (regardless of PREEMPT_RT - the PREEMPT_RT warning
just highlighted the issue).

> thanks,
>
> greg k-h




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux