summaryrefslogtreecommitdiff
path: root/rust/kernel/interop/git@git.tavy.me:linux-stable.git
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@kernel.org>2026-04-02 19:44:21 -0700
committerAlexei Starovoitov <ast@kernel.org>2026-04-03 08:34:44 -0700
commit1a1cadbd5d50b31ae1340c2a9938947719696ca0 (patch)
tree91b4f07c35046a6a73a53505555c2799beab5fcd /rust/kernel/interop/git@git.tavy.me:linux-stable.git
parent19dbb1347481105e8aabc7479af35c09a65333a9 (diff)
bpf: Add helper and kfunc stack access size resolution
The static stack liveness analysis needs to know how many bytes a helper or kfunc accesses through a stack pointer argument, so it can precisely mark the affected stack slots as stack 'def' or 'use'. Add bpf_helper_stack_access_bytes() and bpf_kfunc_stack_access_bytes() which resolve the access size for a given call argument. Acked-by: Eduard Zingerman <eddyz87@gmail.com> Link: https://lore.kernel.org/r/20260403024422.87231-7-alexei.starovoitov@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'rust/kernel/interop/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions