ubpf icon indicating copy to clipboard operation
ubpf copied to clipboard

uBPF should support support the new atomic instructions

Open Alan-Jowett opened this issue 3 years ago • 1 comments

uBPF should support support the new atomic instructions

eBPF ABI was extended to add support for atomic operations: https://lwn.net/Articles/842354/

This is important as it allow eBPF programs to update maps in a lock-free manner.

Alan-Jowett avatar May 12 '21 03:05 Alan-Jowett

I think we should probably resolve #45 (maybe by reviving https://github.com/iovisor/ubpf/pull/53 as an optional feature?) before addressing atomics, since we don't have any tests for using maps right now.

jpsamaroo avatar May 18 '21 23:05 jpsamaroo