From: Alexei Starovoitov <alexei.starovoitov@gmail.com>
To: David Miller <davem@davemloft.net>
Cc: daniel@iogearbox.net, ast@kernel.org, netdev@vger.kernel.org
Subject: Re: pull-request: bpf-next 2017-12-18
Date: Mon, 18 Dec 2017 22:28:30 -0800 [thread overview]
Message-ID: <20171219062828.r6xadsdenfn2v5i2@ast-mbp> (raw)
In-Reply-To: <20171218.105153.395572657387757515.davem@davemloft.net>
On Mon, Dec 18, 2017 at 10:51:53AM -0500, David Miller wrote:
> From: Daniel Borkmann <daniel@iogearbox.net>
> Date: Mon, 18 Dec 2017 01:33:07 +0100
>
> > The following pull-request contains BPF updates for your *net-next* tree.
> >
> > The main changes are:
> >
> > 1) Allow arbitrary function calls from one BPF function to another BPF function.
> > As of today when writing BPF programs, __always_inline had to be used in
> > the BPF C programs for all functions, unnecessarily causing LLVM to inflate
> > code size. Handle this more naturally with support for BPF to BPF calls
> > such that this __always_inline restriction can be overcome. As a result,
> > it allows for better optimized code and finally enables to introduce core
> > BPF libraries in the future that can be reused out of different projects.
> > x86 and arm64 JIT support was added as well, from Alexei.
>
> Exciting... but now there's a lot of JIT work to do.
I've looked at sparc64. It should be simpler than arm64.
First reaction was that it would need dumb version of
emit_loadimm64() (similar to arm's emit_addr_mov_i64), but not,
since it's not used in emit_call.
I can take a stab at it, but cannot test. The most time
consuming part is to setup the latest llvm on the system
to compile *_noinline.c tests.
Note to self, I really need to make test_verifier run the tests.
next prev parent reply other threads:[~2017-12-19 6:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-18 0:33 pull-request: bpf-next 2017-12-18 Daniel Borkmann
2017-12-18 15:51 ` David Miller
2017-12-19 6:28 ` Alexei Starovoitov [this message]
2017-12-20 21:16 ` David Miller
2017-12-21 16:28 ` David Miller
2017-12-21 23:48 ` Daniel Borkmann
2017-12-22 14:42 ` David Miller
2017-12-23 0:12 ` Daniel Borkmann
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=20171219062828.r6xadsdenfn2v5i2@ast-mbp \
--to=alexei.starovoitov@gmail.com \
--cc=ast@kernel.org \
--cc=daniel@iogearbox.net \
--cc=davem@davemloft.net \
--cc=netdev@vger.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