From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756928AbcAUD0b (ORCPT ); Wed, 20 Jan 2016 22:26:31 -0500 Received: from szxga03-in.huawei.com ([119.145.14.66]:61052 "EHLO szxga03-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754374AbcAUD0Q (ORCPT ); Wed, 20 Jan 2016 22:26:16 -0500 Subject: Re: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module. To: Rami Rosen , References: <1452779165-15567-1-git-send-email-rami.rosen@intel.com> CC: , , , , From: Zefan Li Message-ID: <56A04FC2.7000205@huawei.com> Date: Thu, 21 Jan 2016 11:25:54 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <1452779165-15567-1-git-send-email-rami.rosen@intel.com> Content-Type: text/plain; charset="gbk" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.19.236] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A020201.56A04FD1.010E,ss=1,re=0.000,recu=0.000,reip=0.000,cl=1,cld=1,fgs=0, ip=0.0.0.0, so=2013-05-26 15:14:31, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 9fcf538d3d6530bd15876c457703d8c8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 Acked-by: Zefan Li > --- > 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 _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. >