cgroups: subsystem module loading interface
authorBen Blum <[email protected]>
Wed, 10 Mar 2010 23:22:09 +0000 (15:22 -0800)
committerLinus Torvalds <[email protected]>
Fri, 12 Mar 2010 23:52:36 +0000 (15:52 -0800)
commite6a1105ba08b265023dd71a4174fb4a29ebc7083
treec171a012df4364b0feac5d6f1bf8c354164ab0f9
parentaae8aab40367036931608fdaf9e2dc568b516f19
cgroups: subsystem module loading interface

Add interface between cgroups subsystem management and module loading

This patch implements rudimentary module-loading support for cgroups -
namely, a cgroup_load_subsys (similar to cgroup_init_subsys) for use as a
module initcall, and a struct module pointer in struct cgroup_subsys.

Several functions that might be wanted by modules have had EXPORT_SYMBOL
added to them, but it's unclear exactly which functions want it and which
won't.

Signed-off-by: Ben Blum <[email protected]>
Acked-by: Li Zefan <[email protected]>
Cc: Paul Menage <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: KAMEZAWA Hiroyuki <[email protected]>
Cc: Lai Jiangshan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Documentation/cgroups/cgroups.txt
include/linux/cgroup.h
kernel/cgroup.c