From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754678Ab0ENFov (ORCPT ); Fri, 14 May 2010 01:44:51 -0400 Received: from e28smtp01.in.ibm.com ([122.248.162.1]:53466 "EHLO e28smtp01.in.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751857Ab0ENFot (ORCPT ); Fri, 14 May 2010 01:44:49 -0400 Date: Fri, 14 May 2010 11:14:41 +0530 From: Balbir Singh To: Lennart Poettering Cc: Paul Menage , Peter Zijlstra , Dhaval Giani , James Kosin , linux-kernel@vger.kernel.org, jsafrane@redhat.com, tglx@linutronix.de Subject: Re: [PATCH/RFC] Have sane default values for cpusets Message-ID: <20100514054441.GY3296@balbir.in.ibm.com> Reply-To: balbir@linux.vnet.ibm.com References: <1273674048.1626.117.camel@laptop> <20100512190757.GA421@tango.0pointer.de> <1273755719.5605.3537.camel@twins> <20100513140354.GA12639@tango.0pointer.de> <20100513203654.GA14528@tango.0pointer.de> <20100513204159.GA15291@tango.0pointer.de> <20100513210738.GV3296@balbir.in.ibm.com> <20100513235542.GA30093@tango.0pointer.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20100513235542.GA30093@tango.0pointer.de> User-Agent: Mutt/1.5.20 (2009-08-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Lennart Poettering [2010-05-14 01:55:42]: > On Fri, 14.05.10 02:37, Balbir Singh (balbir@linux.vnet.ibm.com) wrote: > > > > > Oh, that is possible? How would I do that? > > > > > > > > This certainly doesn't work: > > > > > > > > # mount waldo -t cgroup /tmp/xxxx -o defaults > > > > > > An neither does this: > > > > > > # mount waldo -t cgroup /tmp/xxxx -o name=systemd > > > > > > (the mount() syscall fails with EINVAL here, the other one fails with EBUSY) > > > > > > > Can you try the command below > > > > mount -t cgroup cgroup -o none,name=hello /cgroup/ > > > > Works for me. > > That line certainly works, but unfortunately your own libcgroup > completely ignores mount points like this. Meh. > Lets fix it, we never thought of using named hierarchies, but it should not be too hard to fix. -- Three Cheers, Balbir