From: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
To: Uros Bizjak <ubizjak@gmail.com>, <linux-raid@vger.kernel.org>,
<linux-kernel@vger.kernel.org>
Cc: Song Liu <song@kernel.org>, Yu Kuai <yukuai3@huawei.com>
Subject: Re: [PATCH] md/raid5-ppl: Use atomic64_inc_return() in ppl_new_iounit()
Date: Tue, 8 Oct 2024 09:38:05 +0200 [thread overview]
Message-ID: <27983c29-dbf0-4105-8176-739971a071b4@intel.com> (raw)
In-Reply-To: <20241007084831.48067-1-ubizjak@gmail.com>
On 10/7/24 10:48, Uros Bizjak wrote:
> Use atomic64_inc_return(&ref) instead of atomic64_add_return(1, &ref)
> to use optimized implementation and ease register pressure around
> the primitive for targets that implement optimized variant.
>
> Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
> Cc: Song Liu <song@kernel.org>
> Cc: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@intel.com>
next prev parent reply other threads:[~2024-10-08 7:38 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-07 8:48 [PATCH] md/raid5-ppl: Use atomic64_inc_return() in ppl_new_iounit() Uros Bizjak
2024-10-08 7:07 ` Yu Kuai
2024-10-08 7:38 ` Artur Paszkiewicz [this message]
2024-10-18 16:00 ` Song Liu
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=27983c29-dbf0-4105-8176-739971a071b4@intel.com \
--to=artur.paszkiewicz@intel.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-raid@vger.kernel.org \
--cc=song@kernel.org \
--cc=ubizjak@gmail.com \
--cc=yukuai3@huawei.com \
/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