[Bug bpf/22312] bpf: global variable and statistics aggregate locking

me at serhei dot io sourceware-bugzilla@sourceware.org
Fri Apr 12 17:41:00 GMT 2019


https://sourceware.org/bugzilla/show_bug.cgi?id=22312

--- Comment #4 from Serhei Makarov <me at serhei dot io> ---
Newer kernels will include a spinlock primitive:
https://github.com/torvalds/linux/blob/master/include/uapi/linux/bpf.h#L2346

On older kernels we may either use the XADD method or just print a warning and
skip locking altogether.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Systemtap mailing list