Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1313835 > unrolled thread

Re: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module.

Started byZefan Li <lizefan@huawei.com>
First post2016-01-21 04:30 +0100
Last post2016-01-21 04:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] Documentation: cgroup v1: remove section about subsystem  as a module. Zefan Li <lizefan@huawei.com> - 2016-01-21 04:30 +0100

#1313835 — Re: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module.

FromZefan Li <lizefan@huawei.com>
Date2016-01-21 04:30 +0100
SubjectRe: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module.
Message-ID<qTe6C-7Mv-7@gated-at.bofh.it>
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@intel.com>

Acked-by: Zefan Li <lizefan@huawei.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.
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web