Re: [PATCH v2 bpf-next] bpf: add ambient BPF runtime context stored in current
Date: Fri Jul 16 2021 - 15:27:31 EST
This patch was applied to bpf/bpf-next.git (refs/heads/master):
On Mon, 12 Jul 2021 16:06:15 -0700 you wrote:
> b910eaaaa4b8 ("bpf: Fix NULL pointer dereference in bpf_get_local_storage()
> helper") fixed the problem with cgroup-local storage use in BPF by
> pre-allocating per-CPU array of 8 cgroup storage pointers to accommodate
> possible BPF program preemptions and nested executions.
> While this seems to work good in practice, it introduces new and unnecessary
> failure mode in which not all BPF programs might be executed if we fail to
> find an unused slot for cgroup storage, however unlikely it is. It might also
> not be so unlikely when/if we allow sleepable cgroup BPF programs in the
Here is the summary with links:
- [v2,bpf-next] bpf: add ambient BPF runtime context stored in current
You are awesome, thank you!
Deet-doot-dot, I am a bot.