Skip to contentSkip to conversation

Documentation: cgroup v1: remove section about subsystem as a module.

PATCH Applied Rami Rosen 3 participants 3 messages Jan 14, 2016 – Jan 22, 2016

Subsystems (2)
lore
Share & tools
lore

Rami Rosen

author
#0 lore raw

PATCH 1/1 Documentation: cgroup v1: remove section about subsystem as a module.

This patch removes the text relating to compiling cgroup as a module, since commit 3ed80a62bf95 ("cgroup: drop module support") makes this text not relevant anymore.

---
 Documentation/cgroup-v1/cgroups.txt | 5 -----
 1 file changed, 5 deletions(-)
Documentation/cgroup-v1/cgroups.txt +0 -5
index c6256ae..176f95e 100644
@@ -525,11 +525,6 @@ Each subsystem should:
 - add an entry in linux/cgroup_subsys.h
 - define a cgroup_subsys object called <name>_subsys
 
-If a subsystem can be compiled as a module, it should also have in its
-module initcall a call to cgroup_load_subsys(), and in its exitcall a
-call to cgroup_unload_subsys(). It should also set its_subsys.module =
-THIS_MODULE in its .c file.
-
 Each subsystem may export the following methods. The only mandatory
 methods are css_alloc/free. Any others that are null are presumed to
 be successful no-ops.
Signature · 1 line
2.4.3
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Rami Rosen

This patch removes the text relating to compiling cgroup as a module, since commit 3ed80a62bf95 ("cgroup: drop module support") makes this text not relevant anymore.

Quoted 21 lines
---
 Documentation/cgroup-v1/cgroups.txt | 5 -----
 1 file changed, 5 deletions(-)
Documentation/cgroup-v1/cgroups.txt +0 -5
index c6256ae..176f95e 100644
@@ -525,11 +525,6 @@ Each subsystem should:
 - add an entry in linux/cgroup_subsys.h
 - define a cgroup_subsys object called <name>_subsys
 
-If a subsystem can be compiled as a module, it should also have in its
-module initcall a call to cgroup_load_subsys(), and in its exitcall a
-call to cgroup_unload_subsys(). It should also set its_subsys.module =
-THIS_MODULE in its .c file.
-
 Each subsystem may export the following methods. The only mandatory
 methods are css_alloc/free. Any others that are null are presumed to
 be successful no-ops.
maintainer Applied
#2 lore raw
In reply to Rami Rosen
Quoted 5 lines · Rami Rosen

This patch removes the text relating to compiling cgroup as a module, since commit 3ed80a62bf95 ("cgroup: drop module support") makes this text not relevant anymore.

Applied to cgroup/for-4.5-fixes.

Thanks.

Signature · 1 line
tejun