Message ID | 20230309180111.1618459-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 Thu, 9 Mar 2023 10:01:05 -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: - [v1,bpf-next,1/6] bpf: verifier: Rename kernel_type_name helper to btf_type_name https://git.kernel.org/bpf/bpf-next/c/b32a5dae44cc - [v1,bpf-next,2/6] bpf: btf: Remove unused btf_field_info_type enum https://git.kernel.org/bpf/bpf-next/c/a4aa38897b6a - [v1,bpf-next,3/6] bpf: Change btf_record_find enum parameter to field_mask https://git.kernel.org/bpf/bpf-next/c/74843b57ec70 - [v1,bpf-next,4/6] bpf: Support __kptr to local kptrs (no matching commit) - [v1,bpf-next,5/6] bpf: Allow local kptrs to be exchanged via bpf_kptr_xchg (no matching commit) - [v1,bpf-next,6/6] selftests/bpf: Add local kptr stashing test (no matching commit) You are awesome, thank you!