[PATCH v2 1/2] bpf: add atomic xchg support

Stephen Hemminger stephen at networkplumber.org
Mon Dec 29 19:10:41 CET 2025


On Thu, 18 Dec 2025 17:09:12 +0000
Marat Khalili <marat.khalili at huawei.com> wrote:

> Add support for BPF atomic xchg instruction, and tests for it. This
> instruction can be produced using compiler intrinsics.
> 
> Signed-off-by: Marat Khalili <marat.khalili at huawei.com>
> ---

Should make sure that CMP32 and all the other current instructions
are also covered. See kernel docs for list.

Acked-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the dev mailing list