Re: [PATCH v2] scsi: target: Save a few cycles in transport_lookup_[cmd|tmr]_lun()

From: Chaitanya Kulkarni
Date: Tue Aug 16 2022 - 04:19:39 EST


On 8/15/22 13:52, Christophe JAILLET wrote:
> Use percpu_ref_tryget_live_rcu() instead of percpu_ref_tryget_live() to
> save a few cycles when it is known that the rcu lock is already
> taken/released.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx>
> ---

do you have a quantitative data that shows actual savings of cycles?

-ck