Re: [PATCH bpf-next v4 15/18] bpf,x86: Implement JIT support for stack arguments

Alexei Starovoitov
2026-04-13T20:00:10Z

On Mon, Apr 13, 2026 at 10:26 AM Yonghong Song <yonghong.song@linux.dev> wrote:
>
>
> Yes, we can do something like below:
>
> case BPF_ST | BPF_MEM | BPF_DW:
> - if (adjust_stack_arg_off && insn->off == -outgoing_stack_arg_depth) {
> + if (dst_reg == BPF_REG_STACK_ARG_BASE && insn->off == -outgoing_stack_arg_depth) {

Something like that, but use BPF_REG_ARG_PTR name ?
here and in the verifier?