Message ID | 20210210033634.62081-1-alexei.starovoitov@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | bpf: Misc improvements | expand |
Hello: This series was applied to bpf/bpf-next.git (refs/heads/master): On Tue, 9 Feb 2021 19:36:25 -0800 you wrote: > From: Alexei Starovoitov <ast@kernel.org> > > v4: > - split migrate_disable into separate patch > > v3: > - address review comments > - improve recursion selftest > > [...] Here is the summary with links: - [v4,bpf-next,1/9] bpf: Optimize program stats https://git.kernel.org/bpf/bpf-next/c/700d4796ef59 - [v4,bpf-next,2/9] bpf: Run sleepable programs with migration disabled https://git.kernel.org/bpf/bpf-next/c/031d6e02ddbb - [v4,bpf-next,3/9] bpf: Compute program stats for sleepable programs https://git.kernel.org/bpf/bpf-next/c/f2dd3b394674 - [v4,bpf-next,4/9] bpf: Add per-program recursion prevention mechanism https://git.kernel.org/bpf/bpf-next/c/ca06f55b9002 - [v4,bpf-next,5/9] selftest/bpf: Add a recursion test https://git.kernel.org/bpf/bpf-next/c/406c557edc5b - [v4,bpf-next,6/9] bpf: Count the number of times recursion was prevented https://git.kernel.org/bpf/bpf-next/c/9ed9e9ba2337 - [v4,bpf-next,7/9] selftests/bpf: Improve recursion selftest https://git.kernel.org/bpf/bpf-next/c/dcf33b6f4de1 - [v4,bpf-next,8/9] bpf: Allows per-cpu maps and map-in-map in sleepable programs https://git.kernel.org/bpf/bpf-next/c/638e4b825d52 - [v4,bpf-next,9/9] selftests/bpf: Add a test for map-in-map and per-cpu maps in sleepable progs https://git.kernel.org/bpf/bpf-next/c/750e5d7649b1 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
From: Alexei Starovoitov <ast@kernel.org> v4: - split migrate_disable into separate patch v3: - address review comments - improve recursion selftest Several bpf improvements: - optimize prog stats - compute stats for sleepable progs - prevent recursion fentry/fexit and sleepable progs - allow map-in-map and per-cpu maps in sleepable progs Alexei Starovoitov (9): bpf: Optimize program stats bpf: Run sleepable programs with migration disabled bpf: Compute program stats for sleepable programs bpf: Add per-program recursion prevention mechanism selftest/bpf: Add a recursion test bpf: Count the number of times recursion was prevented selftests/bpf: Improve recursion selftest bpf: Allows per-cpu maps and map-in-map in sleepable programs selftests/bpf: Add a test for map-in-map and per-cpu maps in sleepable progs arch/x86/net/bpf_jit_comp.c | 46 ++++++----- include/linux/bpf.h | 16 +--- include/linux/filter.h | 16 +++- include/uapi/linux/bpf.h | 1 + kernel/bpf/core.c | 16 +++- kernel/bpf/hashtab.c | 4 +- kernel/bpf/syscall.c | 16 ++-- kernel/bpf/trampoline.c | 77 +++++++++++++++---- kernel/bpf/verifier.c | 9 ++- tools/bpf/bpftool/prog.c | 4 + tools/include/uapi/linux/bpf.h | 1 + .../selftests/bpf/prog_tests/fexit_stress.c | 4 +- .../selftests/bpf/prog_tests/recursion.c | 41 ++++++++++ .../bpf/prog_tests/trampoline_count.c | 4 +- tools/testing/selftests/bpf/progs/lsm.c | 69 +++++++++++++++++ tools/testing/selftests/bpf/progs/recursion.c | 46 +++++++++++ 16 files changed, 303 insertions(+), 67 deletions(-) create mode 100644 tools/testing/selftests/bpf/prog_tests/recursion.c create mode 100644 tools/testing/selftests/bpf/progs/recursion.c