[PATCH v2 2/6] powerpc64/bpf: Support tailcalls with subprogs

Hari Bathini hbathini at linux.ibm.com
Sat Jan 17 21:23:10 AEDT 2026



On 14/01/26 5:14 pm, adubey at linux.ibm.com wrote:
> From: Abhishek Dubey<adubey at linux.ibm.com>
> 
> 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


More information about the Linuxppc-dev mailing list