Re: [PATCH v3 1/2] bpf: render CGROUP_LSM_NUM configurable as a KConfig
Alexei Starovoitov <[email protected]> Fri, 8 May 2026 15:16:19 -0700
| Newsgroups | dev.linux.lists.sashiko,org.kernel.vger.bpf |
|---|---|
| Message-ID | <CAADnVQJyT3fLLv8hnBQHhpc7AQhsAyLiiECm6APqyrt10kzCsA@mail.gmail.com> |
On Thu, May 7, 2026 at 9:40 AM Paul Houssel <[email protected]> wrote: > > I would therefore propose to set the maximum value to 50 or 100 (where > cgroup_bpf is 2024 bytes long), what do you think Paul C? Sorry we cannot grow it with documentation only. The whole thing needs to be refactored. effective[MAX_CGROUP_BPF_ATTACH_TYPE] is problematic as it is. Plenty of memory waste already. It needs to be replaced with scalable approach. Yes, it will be a big change to __cgroup_bpf_attach()