Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

riscv, bpf: Remove duplicated bpf_flush_icache()

The bpf_flush_icache() is done by bpf_arch_text_copy() already.
Remove the duplicated one in arch_prepare_bpf_trampoline().

Signed-off-by: Hengqi Chen <hengqi.chen@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Pu Lehui <pulehui@huawei.com>
Link: https://lore.kernel.org/bpf/20250904105119.21861-1-hengqi.chen@gmail.com

authored by

Hengqi Chen and committed by
Daniel Borkmann
6798668a a578b54a

-1
-1
arch/riscv/net/bpf_jit_comp64.c
··· 1269 1269 goto out; 1270 1270 } 1271 1271 1272 - bpf_flush_icache(ro_image, ro_image_end); 1273 1272 out: 1274 1273 kvfree(image); 1275 1274 return ret < 0 ? ret : size;