[Devel] Re: [PATCH 1/4] cgroups: revamp subsys array

Li Zefan lizf at cn.fujitsu.com
Sun Dec 27 22:29:53 PST 2009


> Make subsys[] able to be dynamically populated to support modular subsystems
> 
> From: Ben Blum <bblum at andrew.cmu.edu>
> 
> This patch reworks the way the subsys[] array is used so that subsystems can
> register themselves after boot time, and enables the internals of cgroups to
> be able to handle when subsystems are not present or may appear/disappear.
> 
> Signed-off-by: Ben Blum <bblum at andrew.cmu.edu>

Acked-by: Li Zefan <lizf at cn.fujitsu.com>

...

A small nitpick:

> +/* This define indicates the maximum number of subsystems that can be loaded
> + * at once. We limit to this many since cgroupfs_root has subsys_bits to keep
> + * track of all of them. */

Please always use this style:

/*
 * xxx
 * xxx
 */

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list