aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/cgroups
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/cgroups')
-rw-r--r--Documentation/cgroups/cgroups.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/cgroups/cgroups.txt b/Documentation/cgroups/cgroups.txt
index d45082653e3d..ae8a037a761e 100644
--- a/Documentation/cgroups/cgroups.txt
+++ b/Documentation/cgroups/cgroups.txt
@@ -488,6 +488,10 @@ Each subsystem should:
488- add an entry in linux/cgroup_subsys.h 488- add an entry in linux/cgroup_subsys.h
489- define a cgroup_subsys object called <name>_subsys 489- define a cgroup_subsys object called <name>_subsys
490 490
491If a subsystem can be compiled as a module, it should also have in its
492module initcall a call to cgroup_load_subsys(&its_subsys_struct). It
493should also set its_subsys.module = THIS_MODULE in its .c file.
494
491Each subsystem may export the following methods. The only mandatory 495Each subsystem may export the following methods. The only mandatory
492methods are create/destroy. Any others that are null are presumed to 496methods are create/destroy. Any others that are null are presumed to
493be successful no-ops. 497be successful no-ops.