Re: [PATCH v2 07/10] riscv: Improve amoswap.X use in xchg()

Andrea Parri
2024-07-10T00:09:18Z

> > I actually see no reason for this patch, please see also my remarks
> > /question on patch #4.
>
> You mean that we can't improve the fully-ordered version here?

Well, I mean, this patch doesn't AFAICT. You've recently fixed these
LR/SC mappings in 1d84afaf0252 ("riscv: Fix fully ordered LR/SC
xchg[8|16]() implementations"), and the remaining look just fine to me.

Andrea