This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug bpf/22312] bpf: global variable and statistics aggregate locking
- From: "me at serhei dot io" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 12 Apr 2019 17:41:31 +0000
- Subject: [Bug bpf/22312] bpf: global variable and statistics aggregate locking
- Auto-submitted: auto-generated
- References: <bug-22312-6586@http.sourceware.org/bugzilla/>
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.