Message ID | 20230310230743.2320707-1-davemarchevsky@fb.com (mailing list archive) |
---|---|
Headers | show |
Series | Support stashing local kptrs with bpf_kptr_xchg | expand |
Hello: This series was applied to bpf/bpf-next.git (master) by Alexei Starovoitov <ast@kernel.org>: On Fri, 10 Mar 2023 15:07:40 -0800 you wrote: > Local kptrs are kptrs allocated via bpf_obj_new with a type specified in program > BTF. A BPF program which creates a local kptr has exclusive control of the > lifetime of the kptr, and, prior to terminating, must: > > * free the kptr via bpf_obj_drop > * If the kptr is a {list,rbtree} node, add the node to a {list, rbtree}, > thereby passing control of the lifetime to the collection > > [...] Here is the summary with links: - [v2,bpf-next,1/3] bpf: Support __kptr to local kptrs https://git.kernel.org/bpf/bpf-next/c/c8e187540914 - [v2,bpf-next,2/3] bpf: Allow local kptrs to be exchanged via bpf_kptr_xchg https://git.kernel.org/bpf/bpf-next/c/738c96d5e2e3 - [v2,bpf-next,3/3] selftests/bpf: Add local kptr stashing test https://git.kernel.org/bpf/bpf-next/c/5d8d6634cccf You are awesome, thank you!