On Mon, 9 Dec 2019 at 20:57, Björn Töpel <bjorn.topel@xxxxxxxxx> wrote: > > On Mon, 9 Dec 2019 at 19:52, Paul Chaignon <paul.chaignon@xxxxxxxxxx> wrote: > > > > All BPF JIT compilers except RISC-V's and MIPS' enforce a 33-tail calls > > limit at runtime. In addition, a test was recently added, in tailcalls2, > > to check this limit. > > > > This patch updates the tail call limit in RISC-V's JIT compiler to allow > > 33 tail calls. I tested it using the above selftest on an emulated > > RISCV64. > > > > 33! ICK! ;-) Thanks for finding this! > > Acked-by: Björn Töpel <bjorn.topel@xxxxxxxxx> > ...and somewhat related; One of the tailcall tests fail due to missing far-branch support in the emitter. I'll address this in the v2 of the "far branch" series.