From: Tobias Klauser <tklauser@distanz.ch>
To: Alexei Starovoitov <ast@kernel.org>,
Daniel Borkmann <daniel@iogearbox.net>,
Wang YanQing <udknight@gmail.com>
Cc: bpf@vger.kernel.org, netdev@vger.kernel.org, x86@kernel.org
Subject: [PATCH bpf-next 0/2] Factor common x86 JIT code
Date: Mon, 29 Jun 2020 11:33:34 +0200 [thread overview]
Message-ID: <20200629093336.20963-1-tklauser@distanz.ch> (raw)
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
next reply other threads:[~2020-06-29 20:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-29 9:33 Tobias Klauser [this message]
2020-06-29 9:33 ` [PATCH bpf-next 1/2] bpf, x86: Factor common x86 JIT code Tobias Klauser
2020-06-29 17:48 ` Alexei Starovoitov
2020-06-30 5:20 ` kernel test robot
2020-07-11 3:13 ` kernel test robot
2020-06-29 9:33 ` [PATCH bpf-next 2/2] bpf, x86: Factor out get_cond_jmp_opcode and use for 64bit x86 Tobias Klauser
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200629093336.20963-1-tklauser@distanz.ch \
--to=tklauser@distanz.ch \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=netdev@vger.kernel.org \
--cc=udknight@gmail.com \
--cc=x86@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).