diff options
| author | Yonghong Song <yonghong.song@linux.dev> | 2026-04-23 06:35:11 +0300 |
|---|---|---|
| committer | Alexei Starovoitov <ast@kernel.org> | 2026-04-23 17:54:50 +0300 |
| commit | 4439328d3878c97fdf5ddec828a43ea07c388452 (patch) | |
| tree | a5a4705146c809d8bfafb593bb81a218c7dc686a /include/linux/workqueue_api.h | |
| parent | 246ad6e5ee259669692bdb7fb353e8c5d5bba628 (diff) | |
| download | linux-4439328d3878c97fdf5ddec828a43ea07c388452.tar.xz | |
bpf: Reuse MAX_BPF_FUNC_ARGS for maximum number of arguments
Currently, MAX_BPF_FUNC_ARGS is used for tracepoint related progs where
the number of parameters cannot exceed MAX_BPF_FUNC_ARGS.
Here, MAX_BPF_FUNC_ARGS is reused to set a limit of the number of arguments
for bpf functions and kfuncs. The current value for MAX_BPF_FUNC_ARGS
is 12 which should be sufficient for majority of bpf functions and
kfuncs.
Acked-by: Puranjay Mohan <puranjay@kernel.org>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260423033511.2542870-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux/workqueue_api.h')
0 files changed, 0 insertions, 0 deletions
