[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <757f1326-bc70-aa93-b2d3-dfd91698406e@nvidia.com>
Date: Tue, 16 Aug 2022 06:06:50 +0000
From: Chaitanya Kulkarni <chaitanyak@...dia.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"michael.christie@...cle.com" <michael.christie@...cle.com>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>,
"linux-scsi@...r.kernel.org" <linux-scsi@...r.kernel.org>,
"target-devel@...r.kernel.org" <target-devel@...r.kernel.org>,
"Martin K. Petersen" <martin.petersen@...cle.com>
Subject: Re: [PATCH v2] scsi: target: Save a few cycles in
transport_lookup_[cmd|tmr]_lun()
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@...adoo.fr>
> ---
do you have a quantitative data that shows actual savings of cycles?
-ck
Powered by blists - more mailing lists