Re: [RFC PATCH RESEND bpf-next 0/4] Support bpf trampoline for RV64

From: Pu Lehui
Date: Sat Dec 24 2022 - 01:23:13 EST




On 2022/12/22 21:00, Björn Töpel wrote:
Pu Lehui <pulehui@xxxxxxxxxxxxxxx> writes:

BPF trampoline is the critical infrastructure of the bpf
subsystem, acting as a mediator between kernel functions
and BPF programs. Numerous important features, such as
using ebpf program for zero overhead kernel introspection,
rely on this key component. We can't wait to support bpf
trampoline on RV64. The implementation of bpf trampoline
was closely to x86 and arm64 for future development.

Thank you for working on this! BPF trampoline is the "missing piece"
from getting proper kfunc support.

Unfortunately, I wont be able to do a proper review until next week.


Take your time, it might take several rounds of optimization. Yep, riscv bpf will look more complete when bpf trampoline and kfunc are supported.

Anyway, have a nice christmas holidays.😄

Lehui


Happy holidays,
Björn