Re: [PATCH for-next 00/32] spin lock usage optimization for SCSI drivers

From: Finn Thain
Date: Mon Feb 08 2021 - 02:57:55 EST


On Sun, 7 Feb 2021, Xiaofei Tan wrote:

> Replace spin_lock_irqsave with spin_lock in hard IRQ of SCSI drivers.
> There are no function changes, but may speed up if interrupt happen too
> often.

This change doesn't necessarily work on platforms that support nested
interrupts.

Were you able to measure any benefit from this change on some other
platform?

Please see also,
https://lore.kernel.org/linux-scsi/89c5cb05cb844939ae684db0077f675f@xxxxxxx/