Message ID | 20240204222349.938118-1-memxor@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Enable static subprog calls in spin lock critical sections | expand |
On 2/4/24 17:23, Kumar Kartikeya Dwivedi wrote: > This set allows a BPF program to make a call to a static subprog within > a bpf_spin_lock critical section. This problem has been hit in sched-ext > and ghOSt [0] as well, and is mostly an annoyance which is worked around > by inling the static subprog into the critical section. thanks! i look forward to deleting my various noinline hacks. =)
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Sun, 4 Feb 2024 22:23:47 +0000 you wrote: > This set allows a BPF program to make a call to a static subprog within > a bpf_spin_lock critical section. This problem has been hit in sched-ext > and ghOSt [0] as well, and is mostly an annoyance which is worked around > by inling the static subprog into the critical section. > > In case of sched-ext, there are a lot of other helper/kfunc calls that > need to be allow listed for the support to be complete, but a separate > follow up will deal with that. > > [...] Here is the summary with links: - [bpf-next,v2,1/2] bpf: Allow calling static subprogs while holding a bpf_spin_lock https://git.kernel.org/bpf/bpf-next/c/a44b1334aadd - [bpf-next,v2,2/2] selftests/bpf: Add test for static subprog call in lock cs https://git.kernel.org/bpf/bpf-next/c/e8699c4ff85b You are awesome, thank you!