Re: [PATCH/RFC] Have sane default values for cpusets
From: Balbir Singh
Date: Fri May 14 2010 - 01:44:54 EST
* Lennart Poettering <mzxreary@xxxxxxxxxxx> [2010-05-14 01:55:42]:
> On Fri, 14.05.10 02:37, Balbir Singh (balbir@xxxxxxxxxxxxxxxxxx) 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
--
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/