Re: [PATCH v3 3/5] LoongArch: BPF: Allow programs 2 KiB of stack
From: George Guo
Date: Tue Dec 01 2026 - 03:10:00 EST
Hi Tiezhu,
On 2026/11/30 19:36, Tiezhu Yang wrote:
> Patch 2 modifies the frame size calculation and this patch
> immediately refactors it into jit_save_area_size(). Please
> order the 2 KiB stack patch before the exceptions patch.
>
> That way, the exception frame changes (s6-s8) only need to
> be added once in jit_save_area_size(), IMO.
Thanks, that makes sense. Will do in v4: "Allow programs 2 KiB of stack"
moves before "Add support for exceptions", so jit_save_area_size() comes
first and the exceptions patch only adds the $s6, $s7 and $s8 slots to
it.
Thanks,
George