Pu Lehui <pulehui@xxxxxxxxxxxxxxx> writes: > This patch is the RV64 implementation of inline bpf_kptr_xchg()[0]. RV64 > JIT supports 64-bit BPF_XCHG atomic instructions. At the same time, the > underlying implementation of xchg() and atomic64_xchg() in RV64 both are > raw_xchg() that supported 64-bit. Therefore inline bpf_kptr_xchg() will > have equivalent semantics. Let's inline it for better performance. > > link: https://lore.kernel.org/bpf/20240105104819.3916743-1-houtao@xxxxxxxxxxxxxxx [0] Acked-by: Björn Töpel <bjorn@xxxxxxxxxx>