[PATCH bpf-next v1] ARC: Add eBPF JIT support

Shahab Vahedi list+bpf at vahedi.org
Tue Apr 30 08:01:06 PDT 2024


Shahab Vahedi writes:
> 
> Björn Töpel <bjorn at kernel.org> writes:
>>
>> Please try to avoid static inline in the C-files. The compiler usually
>> knows better.
> 
> I will replace them with "static" then.

I have tried [1] this and the test execution time took a performance hit of
35%. Therefore, I have not included it in the rework [2].


Cheers,
Shahab

[1] GCC configuration used for building the Linux image
"GCC 12.2.1 20230306" with 3 different optimisations: "-O{2,3,g}"

[2] [PATCH bpf-next v2] ARC: Add eBPF JIT support
https://lore.kernel.org/bpf/20240430145604.38592-1-list+bpf@vahedi.org/



More information about the linux-snps-arc mailing list