[PATCH v2] Add support to eBPF atomic instructions

Jose E. Marchesi jose.marchesi@oracle.com
Wed Nov 17 19:30:16 GMT 2021


> Hi Guillermo,
>
>> This is the v2 for eBPF atomics patch, it has as major
>> improvement an option -mno-atomics intended to restrict the
>> use of `add + fetch' and the rest of atomic instructions,
>> and so, generate code running in old/new kernel versions.
>> Please let me know your comments,
>
> [I know that this reply is a bit late.  Sorry about that...]
>
> Looking good to me.  If you believe that the patch is ready for use
> then please go ahead and apply it.

The eBPF parts are OK.
But we need a GAS manual update documenting -mno-atomics.



More information about the Binutils mailing list