diff options
| author | Eric Dumazet <[email protected]> | 2017-08-31 11:53:42 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-08-31 18:57:37 +0000 |
| commit | 84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c (patch) | |
| tree | 86577241d7a33a02dc714cbfd0c32fa7c19ebd8d /net/tipc/node.c | |
| parent | samples/bpf: Fix compilation issue in redirect dummy program (diff) | |
| download | kernel-84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c.tar.gz kernel-84ccac6e7854ebbfb56d2fc6d5bef9be49bb304c.zip | |
x86: bpf_jit: small optimization in emit_bpf_tail_call()
Saves 4 bytes replacing following instructions :
lea rax, [rsi + rdx * 8 + offsetof(...)]
mov rax, qword ptr [rax]
cmp rax, 0
by :
mov rax, [rsi + rdx * 8 + offsetof(...)]
test rax, rax
Signed-off-by: Eric Dumazet <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Acked-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions
