mbox series

[bpf,0/4] bpf: arena followups.

Message ID 20240315021834.62988-1-alexei.starovoitov@gmail.com (mailing list archive)
Headers show
Series bpf: arena followups. | expand

Message

Alexei Starovoitov March 15, 2024, 2:18 a.m. UTC
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

Comments

Stanislav Fomichev March 15, 2024, 6 p.m. UTC | #1
On 03/14, Alexei Starovoitov wrote:
> 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
> 

Acked-by: Stanislav Fomichev <sdf@google.com>
patchwork-bot+netdevbpf@kernel.org March 15, 2024, 9:30 p.m. UTC | #2
Hello:

This series was applied to bpf/bpf.git (master)
by Andrii Nakryiko <andrii@kernel.org>:

On Thu, 14 Mar 2024 19:18:30 -0700 you wrote:
> 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
> 
> [...]

Here is the summary with links:
  - [bpf,1/4] bpf: Clarify bpf_arena comments.
    https://git.kernel.org/bpf/bpf/c/ee498a38f317
  - [bpf,2/4] libbpf, selftests/bpf: Adjust libbpf, bpftool, selftests to match LLVM
    https://git.kernel.org/bpf/bpf/c/10ebe835c937
  - [bpf,3/4] selftests/bpf: Remove hard coded PAGE_SIZE macro.
    https://git.kernel.org/bpf/bpf/c/9a2d5a966b47
  - [bpf,4/4] selftests/bpf: Add arena test case for 4Gbyte corner case
    https://git.kernel.org/bpf/bpf/c/a90c5845db95

You are awesome, thank you!