On Wed, Feb 10, 2021 at 6:29 AM Ilya Leoshkevich <iii@xxxxxxxxxxxxx> wrote: > > Based on [1], BPF_CMPXCHG should always load the old value into R0. The > phrasing in bpf.rst is somewhat ambiguous in this regard, improve it to > make this aspect crystal clear. > > [1] https://lore.kernel.org/bpf/CAADnVQJFcFwxEz=wnV=hkie-EDwa8s5JGbBQeFt1TGux1OihJw@xxxxxxxxxxxxxx/ > > Signed-off-by: Ilya Leoshkevich <iii@xxxxxxxxxxxxx> Applied.