From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754330AbcANNpE (ORCPT ); Thu, 14 Jan 2016 08:45:04 -0500 Received: from mga09.intel.com ([134.134.136.24]:48173 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754009AbcANNoy (ORCPT ); Thu, 14 Jan 2016 08:44:54 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,294,1449561600"; d="scan'208";a="881281592" From: Rami Rosen To: cgroups@vger.kernel.org Cc: tj@kernel.org, lizefan@huawei.com, hannes@cmpxchg.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, corbet@lwn.net, Rami Rosen Subject: [PATCH] Documentation: cgroup v1: remove section about subsystem as a module. Date: Thu, 14 Jan 2016 15:46:05 +0200 Message-Id: <1452779165-15567-1-git-send-email-rami.rosen@intel.com> X-Mailer: git-send-email 2.4.3 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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. -- 2.4.3