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

Pu Lehui pulehui at huaweicloud.com
Fri Dec 23 22:22:57 PST 2022



On 2022/12/22 21:00, Björn Töpel wrote:
> Pu Lehui <pulehui at huaweicloud.com> 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




More information about the linux-riscv mailing list