[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAADnVQK0b6n_f4PM5eOT9oZxE6RmtaQneCZAHOJe5uosxO9S_Q@mail.gmail.com>
Date: Wed, 20 Jan 2021 14:32:59 -0800
From: Alexei Starovoitov <alexei.starovoitov@...il.com>
To: Stanislav Fomichev <sdf@...gle.com>
Cc: Network Development <netdev@...r.kernel.org>,
bpf <bpf@...r.kernel.org>, Alexei Starovoitov <ast@...nel.org>,
Daniel Borkmann <daniel@...earbox.net>
Subject: Re: [PATCH bpf-next v9 0/3] bpf: misc performance improvements for
cgroup hooks
On Fri, Jan 15, 2021 at 8:35 AM Stanislav Fomichev <sdf@...gle.com> wrote:
>
> First patch adds custom getsockopt for TCP_ZEROCOPY_RECEIVE
> to remove kmalloc and lock_sock overhead from the dat path.
>
> Second patch removes kzalloc/kfree from getsockopt for the common cases.
>
> Third patch switches cgroup_bpf_enabled to be per-attach to
> to add only overhead for the cgroup attach types used on the system.
>
> No visible user-side changes.
>
> v9:
> - include linux/tcp.h instead of netinet/tcp.h in sockopt_sk.c
> - note that v9 depends on the commit 4be34f3d0731 ("bpf: Don't leak
> memory in bpf getsockopt when optlen == 0") from bpf tree
I've rebased bpf-next to include that fix from bpf and applied this set.
Thanks!
Powered by blists - more mailing lists