Re: [PATCH] scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context

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

 



On Tue, 15 Feb 2022 07:32:34 +0100, Christophe JAILLET wrote:

> Just a few lines below this kzalloc() we have a mutex_lock() which can
> sleep.
> 
> More over, the only way to call this function is when a delayed work is
> schedule. And delayed work can sleep.
>   INIT_DELAYED_WORK(&fw_event->work, mptsas_firmware_event_work);
>     --> mptsas_firmware_event_work()
>       --> mptsas_send_link_status_event()
>         --> mptsas_expander_add()
> 
> [...]

Applied to 5.18/scsi-queue, thanks!

[1/1] scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context
      https://git.kernel.org/mkp/scsi/c/e3af2e3b0019

-- 
Martin K. Petersen	Oracle Linux Engineering



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux