Re: [PATCH 09/10] scsi/ibmvscsi: Replace srp tasklet with work
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2022-06-09 15:02:54
Also in:
linux-scsi
From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Date: 2022-06-09 15:02:54
Also in:
linux-scsi
On 2022-05-30 16:15:11 [-0700], Davidlohr Bueso wrote:
Tasklets have long been deprecated as being too heavy on the system by running in irq context - and this is not a performance critical path. If a higher priority process wants to run, it must wait for the tasklet to finish before doing so. Process srps asynchronously in process context in a dedicated single threaded workqueue.
I would suggest threaded interrupts instead. The pattern here is the same as in the previous driver except here is less locking. Sebastian