Re: [PATCH v2 2/6] powerpc64/bpf: Support tailcalls with subprogs
From: Hari Bathini <hbathini@linux.ibm.com>
Date: 2026-01-17 10:23:59
Also in:
bpf, linux-kselftest, lkml
From: Hari Bathini <hbathini@linux.ibm.com>
Date: 2026-01-17 10:23:59
Also in:
bpf, linux-kselftest, lkml
On 14/01/26 5:14 pm, adubey@linux.ibm.com wrote:
From: Abhishek Dubey<redacted> Enabling tailcalls with subprog combinations by referencing method. The actual tailcall count is always maintained in the tail_call_info variable present in the frame of main function (also called entry function). The tail_call_info variables in the frames of all other subprog contains reference to the tail_call_info present in frame of main function.
I would rephrase: "The tail_call_info variables in the frames of all other subprog contains reference to the tail_call_info present in frame of main function." to: "The tail_call_info field in the stack frame of subprogs contains reference to the tail_call_info field in the stack frame of main BPF program." - Hari