summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay@kernel.org>2025-12-19 21:44:17 +0300
committerAlexei Starovoitov <ast@kernel.org>2025-12-21 21:54:37 +0300
commit93f0d09697613beba922a387d21a09a41eeefef5 (patch)
treedf90d42f04a277ea3aabcfcb623880bae9f2183b /scripts/stackusage
parent3d60306b7bb4a3a3c5f01750a2303f987b7d93fa (diff)
downloadlinux-93f0d09697613beba922a387d21a09a41eeefef5.tar.xz
bpf: move recursion detection logic to helpers
BPF programs detect recursion by doing atomic inc/dec on a per-cpu active counter from the trampoline. Create two helpers for operations on this active counter, this makes it easy to changes the recursion detection logic in future. This commit makes no functional changes. Acked-by: Yonghong Song <yonghong.song@linux.dev> Signed-off-by: Puranjay Mohan <puranjay@kernel.org> Link: https://lore.kernel.org/r/20251219184422.2899902-2-puranjay@kernel.org Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions