bpf: tail calls in sleepable programs
Status from this message: This series was applied to bpf/bpf-next.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | bpf: Allow sleepable programs to use tail callsinclude/ kernel/ kernel/ | +5 | 3 replies | Applied |
| 2/2 | selftests/bpf: Add test for sleepable program tailcallstools/ tools/ | +117 | 0 replies | Applied |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Leon Hwang |
|---|---|
| 1/2 | A-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH bpf-next 0/2] bpf: tail calls in sleepable programs
hi,
this patchset allows sleepable programs to use tail calls.
At the moment we need to have separate sleepable uprobe program to retrieve user space data and pass it to complex program with tail calls. It'd be great if the program with tail calls could be sleepable and do the data retrieval directly.
thanks,
jirka
---
Jiri Olsa (2):
bpf: Allow sleepable programs to use tail calls selftests/bpf: Add test for sleepable program tailcalls
include/linux/bpf.h | 1 + kernel/bpf/core.c | 4 +++- kernel/bpf/verifier.c | 1 + tools/testing/selftests/bpf/prog_tests/tailcalls.c | 75 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ tools/testing/selftests/bpf/progs/tailcall_sleepable.c | 43 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 123 insertions(+), 1 deletion(-) create mode 100644 tools/testing/selftests/bpf/progs/tailcall_sleepable.c