Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967141AbZLIBlH (ORCPT ); Tue, 8 Dec 2009 20:41:07 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S967133AbZLIBlG (ORCPT ); Tue, 8 Dec 2009 20:41:06 -0500 Received: from cn.fujitsu.com ([222.73.24.84]:53472 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S967129AbZLIBlD (ORCPT ); Tue, 8 Dec 2009 20:41:03 -0500 Message-ID: <4B1F001C.8020304@cn.fujitsu.com> Date: Wed, 09 Dec 2009 09:40:44 +0800 From: Li Zefan User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1b3pre) Gecko/20090513 Fedora/3.0-2.3.beta2.fc11 Thunderbird/3.0b2 MIME-Version: 1.0 To: Ben Blum CC: linux-kernel@vger.kernel.org, containers@lists.linux-foundation.org, akpm@linux-foundation.org, menage@google.com Subject: Re: [RFC] [PATCH 5/5] cgroups: subsystem dependencies References: <20091204085349.GA18867@andrew.cmu.edu> <20091204085854.GE18912@andrew.cmu.edu> <4B1DEE09.4010508@cn.fujitsu.com> <20091209010817.GA8929@andrew.cmu.edu> In-Reply-To: <20091209010817.GA8929@andrew.cmu.edu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1227 Lines: 26 Ben Blum wrote: > On Tue, Dec 08, 2009 at 02:11:21PM +0800, Li Zefan wrote: >>> This patch adds a mechanism with which a subsystem can specify dependencies on >>> other subsystems. Since subsystems can come and go, it would not be useful to >>> refer to a depended-upon subsystem by subsys_id, so instead a NULL-terminated >>> array of strings must be specified. Validation is done by scanning for each >>> potential subsystem its list of subsystem names with strcmp at the end of >>> parse_cgroupfs_options. >> I once posted a patch to implement this feature, but it was >> rejected by Andrew, because there was no user using it. >> >> And still there is no user, right? > > Dunno - Paul mentioned it might be useful in the future, so I threw this > together in an hour or so. Not entirely sure what he had in mind, but > this series can go with or without this particular patch. > So I think Andrew's suggestion still applies: drop the patch for now, until it finds its user. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/