Re: [PATCH] net: optimize cmpxchg in ip_idents_reserve
From: Eric Dumazet
Date: Thu May 07 2020 - 09:50:06 EST
On Thu, May 7, 2020 at 2:12 AM Shaokun Zhang <zhangshaokun@xxxxxxxxxxxxx> wrote:
>
> Hi Peter/Eric,
>
> Shall we use atomic_add_return() unconditionally and add some comments? Or I missed
> something.
>
Yes. A big fat comment, because I do not want yet another bogus
complaint from someone playing with a buggy UBSAN.