Re: [PATCH v2 bpf-next 1/2] libbpf: make RINGBUF map size adjustments more eagerly

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Alexei Starovoitov <ast@xxxxxxxxxx>:

On Fri, 15 Jul 2022 16:09:51 -0700 you wrote:
> Make libbpf adjust RINGBUF map size (rounding it up to closest power-of-2
> of page_size) more eagerly: during open phase when initializing the map
> and on explicit calls to bpf_map__set_max_entries().
> 
> Such approach allows user to check actual size of BPF ringbuf even
> before it's created in the kernel, but also it prevents various edge
> case scenarios where BPF ringbuf size can get out of sync with what it
> would be in kernel. One of them (reported in [0]) is during an attempt
> to pin/reuse BPF ringbuf.
> 
> [...]

Here is the summary with links:
  - [v2,bpf-next,1/2] libbpf: make RINGBUF map size adjustments more eagerly
    https://git.kernel.org/bpf/bpf-next/c/597fbc468296
  - [v2,bpf-next,2/2] selftests/bpf: test eager BPF ringbuf size adjustment logic
    https://git.kernel.org/bpf/bpf-next/c/e134601961fe

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html





[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux