[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAPhsuW6VKssKDCLCbxYMzbt2GBuxMfJp1AbSDRX-TwDBRu0h_A@mail.gmail.com>
Date: Fri, 18 Oct 2024 09:00:37 -0700
From: Song Liu <song@...nel.org>
To: Artur Paszkiewicz <artur.paszkiewicz@...el.com>
Cc: Uros Bizjak <ubizjak@...il.com>, linux-raid@...r.kernel.org,
linux-kernel@...r.kernel.org, Yu Kuai <yukuai3@...wei.com>
Subject: Re: [PATCH] md/raid5-ppl: Use atomic64_inc_return() in ppl_new_iounit()
On Tue, Oct 8, 2024 at 12:38 AM Artur Paszkiewicz
<artur.paszkiewicz@...el.com> wrote:
>
> 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@...il.com>
> > Cc: Song Liu <song@...nel.org>
> > Cc: Yu Kuai <yukuai3@...wei.com>
>
> Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@...el.com>
Applied to md-6.13. Thanks for the patch!
Song
Powered by blists - more mailing lists