diff options
author | 2022-09-26 11:47:38 -0700 | |
---|---|---|
committer | 2022-09-26 20:40:43 -0700 | |
commit | 19c02415da2345d0dda2b5c4495bc17cc14b18b5 (patch) | |
tree | 64cebe945349bf772b0d4cdb212ee1fc55d38215 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | Merge branch 'bpf: Fixes for CONFIG_X86_KERNEL_IBT' (diff) | |
download | wireguard-linux-19c02415da2345d0dda2b5c4495bc17cc14b18b5.tar.xz wireguard-linux-19c02415da2345d0dda2b5c4495bc17cc14b18b5.zip |
bpf: use bpf_prog_pack for bpf_dispatcher
Allocate bpf_dispatcher with bpf_prog_pack_alloc so that bpf_dispatcher
can share pages with bpf programs.
arch_prepare_bpf_dispatcher() is updated to provide a RW buffer as working
area for arch code to write to.
This also fixes CPA W^X warnning like:
CPA refuse W^X violation: 8000000000000163 -> 0000000000000163 range: ...
Signed-off-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/r/20220926184739.3512547-2-song@kernel.org
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions