Thread (9 messages) 9 messages, 4 authors, 2026-01-31

Re: [PATCH -next] cgroup: increase maximum subsystem count from 16 to 32

From: Michal Koutný <mkoutny@suse.com>
Date: 2026-01-30 10:22:22
Also in: cgroups, lkml

On Thu, Jan 29, 2026 at 05:51:33PM +0800, Chen Ridong [off-list ref] wrote:
We compiled with 'make allmodconfig'.
A-ha.
The BUILD_BUG_ON(CGROUP_SUBSYS_COUNT > 16) macro worked correctly.
Good.
Can I propose increasing the maximum number now? If we switch certain configs to
default N and then a new subsystem is added later, the default configuration may
work fine, but it will become a problem under allmodconfig — which some users
actually rely on.

Besides, this shouldn't be a major change, right?
I'd like there to be gradual move away from legacy controllers code
captured in config defaults.
Could you adjust the commit message to stress out the allmodconfig tests?

The change is OK technically.

Thanks,
Michal

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help