netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH bpf-next 0/2] Two libbpf RB walk improvements
@ 2018-10-11 14:02 Daniel Borkmann
  2018-10-11 14:02 ` [PATCH bpf-next 1/2] bpf, libbpf: use proper barriers in perf RB walk Daniel Borkmann
  2018-10-11 14:02 ` [PATCH bpf-next 2/2] bpf, libbpf: simplify perf RB walk and do incremental updates Daniel Borkmann
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Borkmann @ 2018-10-11 14:02 UTC (permalink / raw)
  To: alexei.starovoitov; +Cc: netdev, Daniel Borkmann

Two small improvements to libbpf's perf RB walk: first one fixes
used barriers and second one simplifies ring walking code. For
details see individual patches.

Thanks!

Daniel Borkmann (2):
  bpf, libbpf: use proper barriers in perf RB walk
  bpf, libbpf: simplify perf RB walk and do incremental updates

 tools/bpf/bpftool/map_perf_ring.c           |  10 ++-
 tools/lib/bpf/libbpf.c                      | 117 ++++++++++++++++++----------
 tools/lib/bpf/libbpf.h                      |  14 ++--
 tools/testing/selftests/bpf/trace_helpers.c |   7 +-
 4 files changed, 93 insertions(+), 55 deletions(-)

-- 
2.9.5

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-10-12 23:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-11 14:02 [PATCH bpf-next 0/2] Two libbpf RB walk improvements Daniel Borkmann
2018-10-11 14:02 ` [PATCH bpf-next 1/2] bpf, libbpf: use proper barriers in perf RB walk Daniel Borkmann
2018-10-11 14:02 ` [PATCH bpf-next 2/2] bpf, libbpf: simplify perf RB walk and do incremental updates Daniel Borkmann
2018-10-12  3:04   ` Jakub Kicinski
2018-10-12  8:39     ` Daniel Borkmann
2018-10-12 13:30       ` Daniel Borkmann
2018-10-12 15:39         ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).