lkml.org 
[lkml]   [2022]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context
Date
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

\
 
 \ /
  Last update: 2022-09-17 16:15    [W:0.044 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site