Re: [PATCH bpf-next v6 0/9] bpf: Implement cgroup local storage available to non-cgroup-attached bpf progs

[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 Tue, 25 Oct 2022 21:28:35 -0700 you wrote:
> There already exists a local storage implementation for cgroup-attached
> bpf programs. See map type BPF_MAP_TYPE_CGROUP_STORAGE and helper
> bpf_get_local_storage(). But there are use cases such that non-cgroup
> attached bpf progs wants to access cgroup local storage data. For example,
> tc egress prog has access to sk and cgroup. It is possible to use
> sk local storage to emulate cgroup local storage by storing data in socket.
> But this is a waste as it could be lots of sockets belonging to a particular
> cgroup. Alternatively, a separate map can be created with cgroup id as the key.
> But this will introduce additional overhead to manipulate the new map.
> A cgroup local storage, similar to existing sk/inode/task storage,
> should help for this use case.
> 
> [...]

Here is the summary with links:
  - [bpf-next,v6,1/9] bpf: Make struct cgroup btf id global
    https://git.kernel.org/bpf/bpf-next/c/5e67b8ef125b
  - [bpf-next,v6,2/9] bpf: Refactor some inode/task/sk storage functions for reuse
    https://git.kernel.org/bpf/bpf-next/c/c83597fa5dc6
  - [bpf-next,v6,3/9] bpf: Implement cgroup storage available to non-cgroup-attached bpf progs
    https://git.kernel.org/bpf/bpf-next/c/c4bcfb38a95e
  - [bpf-next,v6,4/9] libbpf: Support new cgroup local storage
    https://git.kernel.org/bpf/bpf-next/c/4fe64af23c12
  - [bpf-next,v6,5/9] bpftool: Support new cgroup local storage
    https://git.kernel.org/bpf/bpf-next/c/f7f0f1657d95
  - [bpf-next,v6,6/9] selftests/bpf: Fix test test_libbpf_str/bpf_map_type_str
    https://git.kernel.org/bpf/bpf-next/c/fd4ca6c1facf
  - [bpf-next,v6,7/9] selftests/bpf: Add selftests for new cgroup local storage
    https://git.kernel.org/bpf/bpf-next/c/12bb6ca4e2fa
  - [bpf-next,v6,8/9] selftests/bpf: Add test cgrp_local_storage to DENYLIST.s390x
    https://git.kernel.org/bpf/bpf-next/c/0a1b69d1c736
  - [bpf-next,v6,9/9] docs/bpf: Add documentation for new cgroup local storage
    https://git.kernel.org/bpf/bpf-next/c/d43198017ea3

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