Re: [PATCH bpf-next v9 0/3] bpf: misc performance improvements for cgroup hooks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 15, 2021 at 8:35 AM Stanislav Fomichev <sdf@xxxxxxxxxx> 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!



[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux