[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20150525.001536.383553511855379504.davem@davemloft.net>
Date: Mon, 25 May 2015 00:15:36 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: daniel@...earbox.net
Cc: ast@...mgrid.com, edumazet@...gle.com, netdev@...r.kernel.org
Subject: Re: [PATCH net-next] test_bpf: add more eBPF jump torture cases
From: Daniel Borkmann <daniel@...earbox.net>
Date: Sat, 23 May 2015 01:10:07 +0200
> Add two more eBPF test cases for JITs, i.e. the second one revealed a
> bug in the x86_64 JIT compiler, where only an int3 filled image from
> the allocator was emitted and later wrongly set by the compiler as the
> bpf_func program code since optimization pass boundary was surpassed
> w/o actually emitting opcodes.
>
> Interpreter:
>
> [ 45.782892] test_bpf: #242 BPF_MAXINSNS: Very long jump backwards jited:0 11 PASS
> [ 45.783062] test_bpf: #243 BPF_MAXINSNS: Edge hopping nuthouse jited:0 14705 PASS
>
> After x86_64 JIT (fixed):
>
> [ 80.495638] test_bpf: #242 BPF_MAXINSNS: Very long jump backwards jited:1 6 PASS
> [ 80.495957] test_bpf: #243 BPF_MAXINSNS: Edge hopping nuthouse jited:1 17157 PASS
>
> Reference: http://thread.gmane.org/gmane.linux.network/364729
> Signed-off-by: Daniel Borkmann <daniel@...earbox.net>
Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists