[PATCH v7 0/5] powerpc/bpf: use BPF prog pack allocator

Michael Ellerman mpe at ellerman.id.au
Fri Oct 27 20:59:56 AEDT 2023

On Fri, 20 Oct 2023 19:43:53 +0530, Hari Bathini wrote:
> Most BPF programs are small, but they consume a page each. For systems
> with busy traffic and many BPF programs, this may also add significant
> pressure on instruction TLB. High iTLB pressure usually slows down the
> whole system causing visible performance degradation for production
> workloads.
> bpf_prog_pack, a customized allocator that packs multiple bpf programs
> into preallocated memory chunks, was proposed [1] to address it. This
> series extends this support on powerpc.
> [...]

Applied to powerpc/next.

[1/5] powerpc/code-patching: introduce patch_instructions()
[2/5] powerpc/bpf: implement bpf_arch_text_copy
[3/5] powerpc/bpf: implement bpf_arch_text_invalidate for bpf_prog_pack
[4/5] powerpc/bpf: rename powerpc64_jit_data to powerpc_jit_data
[5/5] powerpc/bpf: use bpf_jit_binary_pack_[alloc|finalize|free]


More information about the Linuxppc-dev mailing list