netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Alexei Starovoitov <ast@plumgrid.com>
To: Daniel Borkmann <daniel@iogearbox.net>, davem@davemloft.net
Cc: holzheu@linux.vnet.ibm.com, netdev@vger.kernel.org
Subject: Re: [PATCH net-next 2/4] bpf: provide helper that indicates eBPF was migrated
Date: Thu, 30 Jul 2015 10:15:08 -0700	[thread overview]
Message-ID: <55BA5B9C.6010406@plumgrid.com> (raw)
In-Reply-To: <11e0f83fcc330f6f7bd0d427dc4c81b2a699b498.1438250937.git.daniel@iogearbox.net>

On 7/30/15 3:42 AM, Daniel Borkmann wrote:
> During recent discussions we had with Michael, we found that it would
> be useful to have an indicator that tells the JIT that an eBPF program
> had been migrated from classic instructions into eBPF instructions, as
> only in that case A and X need to be cleared in the prologue. Such eBPF
> programs do not set a particular type, but all have BPF_PROG_TYPE_UNSPEC.
> Thus, introduce a small helper for cde66c2d88da ("s390/bpf: Only clear
> A and X for converted BPF programs") and possibly others in future.
>
> Signed-off-by: Daniel Borkmann<daniel@iogearbox.net>
> Cc: Michael Holzheu<holzheu@linux.vnet.ibm.com>

Acked-by: Alexei Starovoitov <ast@plumgrid.com>

  reply	other threads:[~2015-07-30 17:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-30 10:42 [PATCH net-next 0/4] Minor BPF updates Daniel Borkmann
2015-07-30 10:42 ` [PATCH net-next 1/4] test_bpf: assign type to native eBPF test cases Daniel Borkmann
2015-07-30 17:14   ` Alexei Starovoitov
2015-07-30 10:42 ` [PATCH net-next 2/4] bpf: provide helper that indicates eBPF was migrated Daniel Borkmann
2015-07-30 17:15   ` Alexei Starovoitov [this message]
2015-07-30 10:42 ` [PATCH net-next 3/4] bpf, x86/sparc: show actual number of passes in bpf_jit_dump Daniel Borkmann
2015-07-30 17:15   ` Alexei Starovoitov
2015-07-30 10:42 ` [PATCH net-next 4/4] bpf: also show process name/pid " Daniel Borkmann
2015-07-30 17:18   ` Alexei Starovoitov
2015-07-30 18:13 ` [PATCH net-next 0/4] Minor BPF updates David Miller

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=55BA5B9C.6010406@plumgrid.com \
    --to=ast@plumgrid.com \
    --cc=daniel@iogearbox.net \
    --cc=davem@davemloft.net \
    --cc=holzheu@linux.vnet.ibm.com \
    --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;
as well as URLs for NNTP newsgroup(s).