[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAPhsuW4itNw2YYQ9ncgZL-m08bhwnhOE6FACNxoZVydjukc66w@mail.gmail.com>
Date: Wed, 29 Jul 2020 14:36:57 -0700
From: Song Liu <song@...nel.org>
To: John Fastabend <john.fastabend@...il.com>
Cc: Martin KaFai Lau <kafai@...com>,
Daniel Borkmann <daniel@...earbox.net>,
Alexei Starovoitov <ast@...nel.org>,
Networking <netdev@...r.kernel.org>, bpf <bpf@...r.kernel.org>
Subject: Re: [bpf PATCH v2 5/5] bpf, selftests: Add tests to sock_ops for
loading sk
On Wed, Jul 29, 2020 at 9:26 AM John Fastabend <john.fastabend@...il.com> wrote:
>
[...]
>
> Notice it takes us an extra four instructions when src reg is the
> same as dst reg. One to save the reg, two to restore depending on
> the branch taken and a goto to jump over the second restore.
>
> Signed-off-by: John Fastabend <john.fastabend@...il.com>
Acked-by: Song Liu <songliubraving@...com>
[...]
Powered by blists - more mailing lists