netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Daniel Borkmann <daniel@iogearbox.net>
To: alexei.starovoitov@gmail.com
Cc: netdev@vger.kernel.org, Daniel Borkmann <daniel@iogearbox.net>
Subject: [PATCH bpf-next 0/2] Two libbpf RB walk improvements
Date: Thu, 11 Oct 2018 16:02:05 +0200	[thread overview]
Message-ID: <20181011140207.27602-1-daniel@iogearbox.net> (raw)

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

             reply	other threads:[~2018-10-11 21:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-11 14:02 Daniel Borkmann [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181011140207.27602-1-daniel@iogearbox.net \
    --to=daniel@iogearbox.net \
    --cc=alexei.starovoitov@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).