[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <f996d9cd-7be8-876e-680a-acf842afed5b@h-partners.com>
Date: Wed, 27 Aug 2025 10:11:59 +0800
From: Yihang Li <liyihang9@...artners.com>
To: Bart Van Assche <bvanassche@....org>, <martin.petersen@...cle.com>,
<James.Bottomley@...senPartnership.com>
CC: <linux-scsi@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
<linuxarm@...wei.com>, <liuyonglong@...wei.com>, <prime.zeng@...ilicon.com>,
Yihang Li <liyihang9@...artners.com>
Subject: Re: [PATCH 0/4] scsi: hisi_sas: Switch to use tasklet over threaded
irq handling
Hi Bart,
On 2025/8/26 0:12, Bart Van Assche wrote:
>
> Other drivers process a small number of completions in interrupt context
> before switching to the threaded interrupt context. Has this approach
> been considered for the hisi_sas kernel driver?
>
In the hisi_sas driver, no processing is done in the interrupt context.
In the interrupt thread context, the main tasks are handling abnormal I/O
and calling.task_done()->scsi_done(). I believe these tasks are not
suitable for execution in the interrupt context.
Based on the (https://lwn.net/Articles/960041/) you mentioned,
I'm trying to use WQ_BH instead.
Thanks,
Yihang.
Powered by blists - more mailing lists