Re: BPF Concurrency

Kanthi P <Pavuluri.kanthi@...>

Thanks, fetch_and_add would be more appropriate to my use-case

On Sun, Jun 21, 2020 at 06:02 PM, Yonghong Song wrote:
You cannot use the return value. A recent llvm should return an error
if you try to use it.

There is some preliminary work to have more atomic operations in the
BPF ISA. We could add a version of
fetch_and_add with proper return value. This may take some time as we
need to ensure kernel has proper support.

Join to automatically receive all group messages.