Re: [PATCH bpf-next v4 0/3] Allow struct_ops maps with a large number of programs

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

 



Hello:

This series was applied to bpf/bpf-next.git (master)
by Martin KaFai Lau <martin.lau@xxxxxxxxxx>:

On Sat, 24 Feb 2024 14:34:15 -0800 you wrote:
> The BPF struct_ops previously only allowed for one page to be used for
> the trampolines of all links in a map. However, we have recently run
> out of space due to the large number of BPF program links. By
> allocating additional pages when we exhaust an existing page, we can
> accommodate more links in a single map.
> 
> The variable st_map->image has been changed to st_map->image_pages,
> and its type has been changed to an array of pointers to buffers of
> PAGE_SIZE. Additional pages are allocated when all existing pages are
> exhausted.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v4,1/3] bpf, net: validate struct_ops when updating value.
    https://git.kernel.org/bpf/bpf-next/c/73e4f9e615d7
  - [bpf-next,v4,2/3] bpf: struct_ops supports more than one page for trampolines.
    https://git.kernel.org/bpf/bpf-next/c/187e2af05abe
  - [bpf-next,v4,3/3] selftests/bpf: Test struct_ops maps with a large number of program links.
    https://git.kernel.org/bpf/bpf-next/c/93bc28d859e5

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