Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757969AbYFSAmS (ORCPT ); Wed, 18 Jun 2008 20:42:18 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756248AbYFSAmH (ORCPT ); Wed, 18 Jun 2008 20:42:07 -0400 Received: from cn.fujitsu.com ([222.73.24.84]:52645 "EHLO song.cn.fujitsu.com" rhost-flags-OK-FAIL-OK-OK) by vger.kernel.org with ESMTP id S1755645AbYFSAmG (ORCPT ); Wed, 18 Jun 2008 20:42:06 -0400 Message-ID: <4859AAF8.9060909@cn.fujitsu.com> Date: Thu, 19 Jun 2008 08:40:24 +0800 From: Li Zefan User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: KAMEZAWA Hiroyuki CC: Andrew Morton , Paul Menage , LKML , "containers@lists.osdl.org" , Balbir Singh , Paul Jackson Subject: Re: [PATCH] cgroup: support checking of subsystem dependencies References: <4858C0ED.2080905@cn.fujitsu.com> <20080619091714.320fdaa6.kamezawa.hiroyu@jp.fujitsu.com> In-Reply-To: <20080619091714.320fdaa6.kamezawa.hiroyu@jp.fujitsu.com> 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: 932 Lines: 24 KAMEZAWA Hiroyuki wrote: > On Wed, 18 Jun 2008 16:01:49 +0800 > Li Zefan wrote: > >> This allows one subsystem to require that it only be mounted when some >> other subsystems are also present in the proposed hierarchy. >> >> For example if subsystem foo depends on bar, the following will fail: >> # mount -t cgroup -ofoo xxx /dev/cgroup >> >> You should mount with both subsystems: >> # mount -t cgroup -ofoo,bar xxx /dev/cgroup >> > I'm just curious. May I ask "Is there such cgroup subsystem now ?" > Currently no, but people who are developing or wants to develop new subsystems may find this useful, for example Daisuke Nishimura-san's swap controller. -- 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/