[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164619702111.16127.16163616639439447777.b4-ty@oracle.com>
Date: Wed, 2 Mar 2022 00:13:21 -0500
From: "Martin K. Petersen" <martin.petersen@...cle.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Suganath Prabu Subramani
<suganath-prabu.subramani@...adcom.com>,
Sathya Prakash <sathya.prakash@...adcom.com>,
Sreekanth Reddy <sreekanth.reddy@...adcom.com>
Cc: "Martin K . Petersen" <martin.petersen@...cle.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
MPT-FusionLinux.pdl@...adcom.com, linux-scsi@...r.kernel.org
Subject: Re: [PATCH] scsi: message: fusion: Use GFP_KERNEL instead of GFP_ATOMIC in non-atomic context
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
Powered by blists - more mailing lists