diff options
author | Jakub Kicinski <[email protected]> | 2021-12-15 18:55:38 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-12-16 14:57:10 -0800 |
commit | fd1740b6abac39f68ce12e201697f106e0f1d519 (patch) | |
tree | d433789c16f3bf5d5cbdbc07268a9f9e71a65564 /net/unix/sysctl_net_unix.c | |
parent | aef2feda97b840ec38e9fa53d0065188453304e8 (diff) |
bpf: Remove the cgroup -> bpf header dependecy
Remove the dependency from cgroup-defs.h to bpf-cgroup.h and bpf.h.
This reduces the incremental build size of x86 allmodconfig after
bpf.h was touched from ~17k objects rebuilt to ~5k objects.
bpf.h is 2.2kLoC and is modified relatively often.
We need a new header with just the definition of struct cgroup_bpf
and enum cgroup_bpf_attach_type, this is akin to cgroup-defs.h.
Signed-off-by: Jakub Kicinski <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions