lkml.org 
[lkml]   [2022]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Linux 6.1-rc3 build fail in include/linux/bpf.h
Date
Jiri Olsa <olsajiri@gmail.com> writes:

> On Mon, Oct 31, 2022 at 04:21:42PM +0100, Peter Zijlstra wrote:
>>
>> Does something crazy like the below work? It compiles but is otherwise
>> totally untested.
>
> looks good
>
> it has now the ftrace nop and the jump to the dispatcher image
> or the bpf_dispatcher_nop_func.. great :)
>
> bpf_dispatcher_xdp_func:
>
> ffffffff81cc87b0 <load1+0xcc87b0>:
> ffffffff81cc87b0: 0f 1f 44 00 00 nopl 0x0(%rax,%rax,1)
> ffffffff81cc87b5: e9 a6 fe 65 ff jmp 0xffffffff81328660
>
> tests work for me.. Toke, Björn, could you please check?

Awesome! Much nicer!

For Peter's patch, feel free to add:
Acked-by: Björn Töpel <bjorn@kernel.org>

\
 
 \ /
  Last update: 2022-11-01 12:01    [W:0.036 / U:0.232 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site