cgroups.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation: cgroup v1: remove section about subsystem as a module.
@ 2016-01-14 13:46 Rami Rosen
       [not found] ` <1452779165-15567-1-git-send-email-rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  2016-01-22 16:11 ` Tejun Heo
  0 siblings, 2 replies; 3+ messages in thread
From: Rami Rosen @ 2016-01-14 13:46 UTC (permalink / raw)
  To: cgroups; +Cc: tj, lizefan, hannes, linux-doc, linux-kernel, corbet, 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.

Signed-off-by: Rami Rosen <rami.rosen@intel.com>
---
 Documentation/cgroup-v1/cgroups.txt | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/Documentation/cgroup-v1/cgroups.txt b/Documentation/cgroup-v1/cgroups.txt
index c6256ae..176f95e 100644
--- a/Documentation/cgroup-v1/cgroups.txt
+++ b/Documentation/cgroup-v1/cgroups.txt
@@ -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.
-- 
2.4.3


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module.
       [not found] ` <1452779165-15567-1-git-send-email-rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2016-01-21  3:25   ` Zefan Li
  0 siblings, 0 replies; 3+ messages in thread
From: Zefan Li @ 2016-01-21  3:25 UTC (permalink / raw)
  To: Rami Rosen, cgroups-u79uwXL29TY76Z2rM5mHXA
  Cc: tj-DgEjT+Ai2ygdnm+yROfE0A, hannes-druUgvl0LCNAfugRpC6u6w,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, corbet-T1hC0tSOHrs

On 2016/1/14 21:46, Rami Rosen wrote:
> 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.
> 
> Signed-off-by: Rami Rosen <rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

Acked-by: Zefan Li <lizefan-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>

> ---
>  Documentation/cgroup-v1/cgroups.txt | 5 -----
>  1 file changed, 5 deletions(-)
> 
> diff --git a/Documentation/cgroup-v1/cgroups.txt b/Documentation/cgroup-v1/cgroups.txt
> index c6256ae..176f95e 100644
> --- a/Documentation/cgroup-v1/cgroups.txt
> +++ b/Documentation/cgroup-v1/cgroups.txt
> @@ -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.
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module.
  2016-01-14 13:46 [PATCH] Documentation: cgroup v1: remove section about subsystem as a module Rami Rosen
       [not found] ` <1452779165-15567-1-git-send-email-rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
@ 2016-01-22 16:11 ` Tejun Heo
  1 sibling, 0 replies; 3+ messages in thread
From: Tejun Heo @ 2016-01-22 16:11 UTC (permalink / raw)
  To: Rami Rosen; +Cc: cgroups, lizefan, hannes, linux-doc, linux-kernel, corbet

On Thu, Jan 14, 2016 at 03:46:05PM +0200, Rami Rosen wrote:
> 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.
> 
> Signed-off-by: Rami Rosen <rami.rosen@intel.com>

Applied to cgroup/for-4.5-fixes.

Thanks.

-- 
tejun

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-01-22 16:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-14 13:46 [PATCH] Documentation: cgroup v1: remove section about subsystem as a module Rami Rosen
     [not found] ` <1452779165-15567-1-git-send-email-rami.rosen-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-01-21  3:25   ` Zefan Li
2016-01-22 16:11 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).