[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200629093336.20963-1-tklauser@distanz.ch>
Date: Mon, 29 Jun 2020 11:33:34 +0200
From: Tobias Klauser <tklauser@...tanz.ch>
To: Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>,
Wang YanQing <udknight@...il.com>
Cc: bpf@...r.kernel.org, netdev@...r.kernel.org, x86@...nel.org
Subject: [PATCH bpf-next 0/2] Factor common x86 JIT code
Factor out code common for 32-bit and 64-bit x86 BPF JITs.
Tobias Klauser (2):
bpf, x86: Factor common x86 JIT code
bpf, x86: Factor out get_cond_jmp_opcode and use for 64bit x86
MAINTAINERS | 3 +-
arch/x86/net/Makefile | 4 +-
arch/x86/net/bpf_jit.h | 97 ++++++++++
arch/x86/net/bpf_jit_comp32.c | 178 ++----------------
.../net/{bpf_jit_comp.c => bpf_jit_comp64.c} | 130 +------------
arch/x86/net/bpf_jit_core.c | 76 ++++++++
6 files changed, 194 insertions(+), 294 deletions(-)
create mode 100644 arch/x86/net/bpf_jit.h
rename arch/x86/net/{bpf_jit_comp.c => bpf_jit_comp64.c} (94%)
create mode 100644 arch/x86/net/bpf_jit_core.c
--
2.27.0
Powered by blists - more mailing lists