[Devel] Loadable cgroup subsystems
Nikanth Karthikesan
knikanth at suse.de
Mon Apr 7 22:39:35 PDT 2008
> On 4/1/08, Pavel Machek <pavel at ucw.cz> wrote:
> > > > > --- a/include/linux/cgroup_subsys.h
> > > > > +++ b/include/linux/cgroup_subsys.h
> > > > > @@ -42,3 +42,9 @@ SUBSYS(mem_cgroup)
> > > > > #endif
> > > > >
> > > > > /* */
> > > > > +
> > > > > +#ifdef CONFIG_CGROUP_DEVICE
> > > > > +SUBSYS(devices)
> > > > > +#endif
> > > > > +
> > > > > +/* */
> > > >
> > > > I don't know what this is, but it does not look like C...
> > >
> > > Huh?
> >
> > Empty comments as separators?
>
> They help when multiple people add such SUBSYS things and
> do not have to fight rejects.
>
Why not provide a interface to add subsystems at run-time instead?
Are there any reason for not letting a subsystem to be implemented as a
loadable module? IOW make cgroups usable by modules?
Thanks
Nikanth Karthikesan
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list