diff options
author | Puranjay Mohan <[email protected]> | 2024-02-28 14:18:24 +0000 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2024-02-28 13:44:47 -0800 |
commit | 1dad391daef129e01e28206b8d586608ff026548 (patch) | |
tree | 5811a3a6deb3825618a7d1a0577df5170871de2a /tools/perf/scripts/python/netdev-times.py | |
parent | 451c3cab9a65e656c3b3d106831fc02d56b8c34a (diff) |
bpf, arm64: use bpf_prog_pack for memory management
Use bpf_jit_binary_pack_alloc for memory management of JIT binaries in
ARM64 BPF JIT. The bpf_jit_binary_pack_alloc creates a pair of RW and RX
buffers. The JIT writes the program into the RW buffer. When the JIT is
done, the program is copied to the final RX buffer
with bpf_jit_binary_pack_finalize.
Implement bpf_arch_text_copy() and bpf_arch_text_invalidate() for ARM64
JIT as these functions are required by bpf_jit_binary_pack allocator.
Signed-off-by: Puranjay Mohan <[email protected]>
Acked-by: Song Liu <[email protected]>
Acked-by: Catalin Marinas <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions