Re: BPF Concurrency
Yonghong Song
On Sun, Jun 21, 2020 at 4:17 PM Kanthi P <Pavuluri.kanthi@...> 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. https://reviews.llvm.org/D72184. 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.
|
|