bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
To: bpf@vger.kernel.org
Cc: daniel@iogearbox.net, andrii@kernel.org, martin.lau@kernel.org,
	eddyz87@gmail.com, kernel-team@fb.com
Subject: [PATCH bpf 0/4] bpf: arena followups.
Date: Thu, 14 Mar 2024 19:18:30 -0700	[thread overview]
Message-ID: <20240315021834.62988-1-alexei.starovoitov@gmail.com> (raw)

From: Alexei Starovoitov <ast@kernel.org>

A set of follow ups to clean up bpf_arena and adjust to the latest LLVM.

Alexei Starovoitov (4):
  bpf: Clarify bpf_arena comments.
  libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM
  selftests/bpf: Remove hard coded PAGE_SIZE macro.
  selftests/bpf: Add arena test case for 4Gbyte corner case

 kernel/bpf/arena.c                            | 25 +++++--
 tools/bpf/bpftool/gen.c                       |  2 +-
 tools/lib/bpf/libbpf.c                        |  2 +-
 .../testing/selftests/bpf/bpf_arena_common.h  |  2 +-
 .../selftests/bpf/prog_tests/arena_htab.c     |  8 ++-
 .../selftests/bpf/prog_tests/arena_list.c     |  7 +-
 .../selftests/bpf/prog_tests/verifier.c       |  2 +
 .../testing/selftests/bpf/progs/arena_htab.c  |  2 +-
 .../testing/selftests/bpf/progs/arena_list.c  | 10 +--
 .../selftests/bpf/progs/verifier_arena.c      |  4 +-
 .../bpf/progs/verifier_arena_large.c          | 68 +++++++++++++++++++
 11 files changed, 109 insertions(+), 23 deletions(-)
 create mode 100644 tools/testing/selftests/bpf/progs/verifier_arena_large.c

-- 
2.43.0


             reply	other threads:[~2024-03-15  2:18 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15  2:18 Alexei Starovoitov [this message]
2024-03-15  2:18 ` [PATCH bpf 1/4] bpf: Clarify bpf_arena comments Alexei Starovoitov
2024-03-15 17:59   ` Stanislav Fomichev
2024-03-15  2:18 ` [PATCH bpf 2/4] libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM Alexei Starovoitov
2024-03-15  3:57   ` Andrii Nakryiko
2024-03-15  4:44     ` Alexei Starovoitov
2024-03-15  2:18 ` [PATCH bpf 3/4] selftests/bpf: Remove hard coded PAGE_SIZE macro Alexei Starovoitov
2024-03-15  2:18 ` [PATCH bpf 4/4] selftests/bpf: Add arena test case for 4Gbyte corner case Alexei Starovoitov
2024-03-15 18:00 ` [PATCH bpf 0/4] bpf: arena followups Stanislav Fomichev
2024-03-15 21:30 ` patchwork-bot+netdevbpf

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=20240315021834.62988-1-alexei.starovoitov@gmail.com \
    --to=alexei.starovoitov@gmail.com \
    --cc=andrii@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=eddyz87@gmail.com \
    --cc=kernel-team@fb.com \
    --cc=martin.lau@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).