This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]