Re: [PATCH bpf-next 3/5] bpf: create a header for struct bpf_link

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

 



On Tue, 14 Dec 2021 07:04:35 -0800 Jakub Kicinski wrote:
> > My understanding that patch 4 is the key.
> > I think the bpf-link.h bpf-cgroup-types.h and bpf-cgroup-storage.h
> > are too specific. We don't do a header file per type.
> > Maybe combine them all into one bpf-cgroup-types.h ?
> > That will still achieve the separation of cgroup from linux/bpf.h  

The dependency tree is


         bpf-link.h  bpf-cgroup-types.h                                              
              ^       ^
              |      /                                  
 bpf.h     bpf-cgroup.h  
    ^           ^                             
    |           |                          
    |           |                          
  bpf-cgroup-storage.h


I can't merge bpf-cgroup-storage.h with the rest, it'd be a loop.
Should I leave that one be separate? Any other ideas?



[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