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

From: Li Zefan
Date: Mon Dec 28 2009 - 01:30:19 EST


> Make subsys[] able to be dynamically populated to support modular subsystems
>
> From: Ben Blum <bblum@xxxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxxx>

Acked-by: Li Zefan <lizf@xxxxxxxxxxxxxx>

...

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
*/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/