Message ID | 20230602022647.1571784-1-davemarchevsky@fb.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf_refcount followups (part 1) | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Thu, 1 Jun 2023 19:26:38 -0700 you wrote: > This series is the first of two (or more) followups to address issues in the > bpf_refcount shared ownership implementation discovered by Kumar. > Specifically, this series addresses the "bpf_refcount_acquire on non-owning ref > in another tree" scenario described in [0], and does _not_ address issues > raised in [1]. Further followups will address the other issues. > > The series can be applied without re-enabling bpf_refcount_acquire calls, which > were disabled in commit 7deca5eae833 ("bpf: Disable bpf_refcount_acquire kfunc > calls until race conditions are fixed") until all issues are addressed. Some > extra patches are included so that BPF CI tests will exercise test changes in > the series. > > [...] Here is the summary with links: - [v2,bpf-next,1/9,DONOTAPPLY] Revert "bpf: Disable bpf_refcount_acquire kfunc calls until race conditions are fixed" (no matching commit) - [v2,bpf-next,2/9] bpf: Set kptr_struct_meta for node param to list and rbtree insert funcs https://git.kernel.org/bpf/bpf-next/c/2140a6e3422d - [v2,bpf-next,3/9] bpf: Fix __bpf_{list,rbtree}_add's beginning-of-node calculation https://git.kernel.org/bpf/bpf-next/c/cc0d76cafebb - [v2,bpf-next,4/9] bpf: Make bpf_refcount_acquire fallible for non-owning refs https://git.kernel.org/bpf/bpf-next/c/7793fc3babe9 - [v2,bpf-next,5/9,DONOTAPPLY] bpf: Allow KF_DESTRUCTIVE-flagged kfuncs to be called under spinlock (no matching commit) - [v2,bpf-next,6/9,DONOTAPPLY] selftests/bpf: Add unsafe lock/unlock and refcount_read kfuncs to bpf_testmod (no matching commit) - [v2,bpf-next,7/9,DONOTAPPLY] selftests/bpf: Add test exercising bpf_refcount_acquire race condition (no matching commit) - [v2,bpf-next,8/9,DONOTAPPLY] selftests/bpf: Disable newly-added refcounted_kptr_races test (no matching commit) - [v2,bpf-next,9/9,DONOTAPPLY] Revert "selftests/bpf: Disable newly-added refcounted_kptr_races test" (no matching commit) You are awesome, thank you!