Re: [PATCH/RFC] Have sane default values for cpusets
From: Balbir Singh
Date: Thu May 13 2010 - 17:07:50 EST
* Lennart Poettering <mzxreary@xxxxxxxxxxx> [2010-05-13 22:41:59]:
> On Thu, 13.05.10 22:36, Lennart Poettering (mzxreary@xxxxxxxxxxx) wrote:
>
> > On Thu, 13.05.10 13:06, Paul Menage (menage@xxxxxxxxxx) wrote:
> >
> > >
> > > On Thu, May 13, 2010 at 7:03 AM, Lennart Poettering
> > > <mzxreary@xxxxxxxxxxx> 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/