lkml.org 
[lkml]   [2012]   [Oct]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 07/16] cgroup: fix warning when building without any subsys
Date
On Saturday 06 October 2012, Tejun Heo wrote:
> On Fri, Oct 05, 2012 at 04:55:21PM +0200, Arnd Bergmann wrote:
> > In a configuration where the base cgroup support is enabled but
> > every single cgroup subsys is turned off, CGROUP_BUILTIN_SUBSYS_COUNT
> > is zero, which causes the sanity check code in cgroup_load_subsys
> > to trigger:
> >
> > BUG_ON(ss->subsys_id >= CGROUP_BUILTIN_SUBSYS_COUNT);
> > BUG_ON(subsys[ss->subsys_id] != ss);
>
> CGROUP_BUILTIN_SUBSYS_COUNT is already gone in mainline. I suppose
> this is no longer necessary?

Ah, you are right. I can confirm the problem is gone, and I'll drop
the patch.

Arnd


\
 
 \ /
  Last update: 2012-10-06 09:01    [W:0.276 / U:0.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site