From: Chaitanya Kulkarni <chaitanyak@nvidia.com>
To: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"michael.christie@oracle.com" <michael.christie@oracle.com>,
"kernel-janitors@vger.kernel.org"
<kernel-janitors@vger.kernel.org>,
"linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>,
"target-devel@vger.kernel.org" <target-devel@vger.kernel.org>,
"Martin K. Petersen" <martin.petersen@oracle.com>
Subject: Re: [PATCH v2] scsi: target: Save a few cycles in transport_lookup_[cmd|tmr]_lun()
Date: Tue, 16 Aug 2022 06:06:50 +0000 [thread overview]
Message-ID: <757f1326-bc70-aa93-b2d3-dfd91698406e@nvidia.com> (raw)
In-Reply-To: <03705222390bfa3b48ad7658f693fc0fc030b3ae.1660596679.git.christophe.jaillet@wanadoo.fr>
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@wanadoo.fr>
> ---
do you have a quantitative data that shows actual savings of cycles?
-ck
next prev parent reply other threads:[~2022-08-16 8:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-15 20:52 [PATCH v2] scsi: target: Save a few cycles in transport_lookup_[cmd|tmr]_lun() Christophe JAILLET
2022-08-16 6:06 ` Chaitanya Kulkarni [this message]
2022-08-16 8:12 ` Christophe JAILLET
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=757f1326-bc70-aa93-b2d3-dfd91698406e@nvidia.com \
--to=chaitanyak@nvidia.com \
--cc=christophe.jaillet@wanadoo.fr \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=michael.christie@oracle.com \
--cc=target-devel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox