On Sat, Feb 6, 2021 at 9:06 AM Alexei Starovoitov <alexei.starovoitov@xxxxxxxxx> wrote: > > From: Alexei Starovoitov <ast@xxxxxxxxxx> > > Add recursive non-sleepable fentry program as a test. > All attach points where sleepable progs can execute are non recursive so far. > The recursion protection mechanism for sleepable cannot be activated yet. > > Signed-off-by: Alexei Starovoitov <ast@xxxxxxxxxx> > --- LGTM. Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > .../selftests/bpf/prog_tests/recursion.c | 33 +++++++++++++ > tools/testing/selftests/bpf/progs/recursion.c | 46 +++++++++++++++++++ > 2 files changed, 79 insertions(+) > create mode 100644 tools/testing/selftests/bpf/prog_tests/recursion.c > create mode 100644 tools/testing/selftests/bpf/progs/recursion.c > [...]