[PATCH v2] Add support to eBPF atomic instructions

Guillermo Martinez guillermo.e.martinez@oracle.com
Thu Nov 18 03:59:41 GMT 2021


On Wednesday, November 17, 2021 1:30:16 PM CST Jose E. Marchesi wrote:
Hi Nick, Jose

Thanks for your comments!

> > 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...]
Don't worry :-)

> > 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.
Ok, I'll work on this :-)

Cheers,
Guillermo




More information about the Binutils mailing list