[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100513210738.GV3296@balbir.in.ibm.com>
Date: Fri, 14 May 2010 02:37:38 +0530
From: Balbir Singh <balbir@...ux.vnet.ibm.com>
To: Lennart Poettering <mzxreary@...inter.de>
Cc: Paul Menage <menage@...gle.com>,
Peter Zijlstra <peterz@...radead.org>,
Dhaval Giani <dhaval.giani@...il.com>,
James Kosin <jkosin@...comgrp.com>,
linux-kernel@...r.kernel.org, jsafrane@...hat.com,
tglx@...utronix.de
Subject: Re: [PATCH/RFC] Have sane default values for cpusets
* Lennart Poettering <mzxreary@...inter.de> [2010-05-13 22:41:59]:
> On Thu, 13.05.10 22:36, Lennart Poettering (mzxreary@...inter.de) wrote:
>
> > On Thu, 13.05.10 13:06, Paul Menage (menage@...gle.com) wrote:
> >
> > >
> > > On Thu, May 13, 2010 at 7:03 AM, Lennart Poettering
> > > <mzxreary@...inter.de> wrote:
> > > > By default systemd will create its groups in the "debug" hierarchy, (at
> > > > least for now, in the long run i'd like to see "noop" hierarchy or so,
> > > > that doesn't sound so temporary), since that controller is not useful
> > >
> > > If you just want to track processes, mount a (named) hierarchy with no
> > > attached subsystems.
> >
> > 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.
--
Three Cheers,
Balbir
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists