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

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

From: Chen Ridong <hidden>
Date: 2026-01-31 03:00:09
Also in: cgroups, lkml


On 2026/1/30 18:22, Michal Koutný wrote:
On Thu, Jan 29, 2026 at 05:51:33PM +0800, Chen Ridong [off-list ref] wrote:
quoted
We compiled with 'make allmodconfig'.
A-ha.
quoted
The BUILD_BUG_ON(CGROUP_SUBSYS_COUNT > 16) macro worked correctly.
Good.
quoted
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?
Sure, will update.

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