Re: [PATCH v4 1/5] powerpc/bpf: implement bpf_arch_text_copy

2023-09-25 Thread Song Liu
On Fri, Sep 8, 2023 at 6:28 AM Hari Bathini wrote: > > bpf_arch_text_copy is used to dump JITed binary to RX page, allowing > multiple BPF programs to share the same page. Use patch_instruction() > to implement it. > > Signed-off-by: Hari Bathini > --- > arch/powerpc/net/bpf_jit_comp.c | 41

[PATCH v4 1/5] powerpc/bpf: implement bpf_arch_text_copy

2023-09-08 Thread Hari Bathini
bpf_arch_text_copy is used to dump JITed binary to RX page, allowing multiple BPF programs to share the same page. Use patch_instruction() to implement it. Signed-off-by: Hari Bathini --- arch/powerpc/net/bpf_jit_comp.c | 41 - 1 file changed, 40 insertions(+), 1