Re: [PATCH/RFC] Have sane default values for cpusets

From: Lennart Poettering
Date: Thu May 13 2010 - 16:42:33 EST


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)

Lennart

--
Lennart Poettering Red Hat, Inc.
lennart [at] poettering [dot] net
http://0pointer.net/lennart/ GnuPG 0x1A015CC4
--
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/