Re: [PATCH] md/raid5-ppl: Use atomic64_inc_return() in ppl_new_iounit()

From: Song Liu
Date: Fri Oct 18 2024 - 12:00:58 EST


On Tue, Oct 8, 2024 at 12:38 AM Artur Paszkiewicz
<artur.paszkiewicz@xxxxxxxxx> 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@xxxxxxxxx>
> > Cc: Song Liu <song@xxxxxxxxxx>
> > Cc: Yu Kuai <yukuai3@xxxxxxxxxx>
>
> Reviewed-by: Artur Paszkiewicz <artur.paszkiewicz@xxxxxxxxx>

Applied to md-6.13. Thanks for the patch!

Song