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

From: Dhaval Giani
Date: Fri May 14 2010 - 02:34:53 EST


On Fri, May 14, 2010 at 1:55 AM, Lennart Poettering
<mzxreary@xxxxxxxxxxx> wrote:
> 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.
>

That be my mistake. I missed this update to cgroups. A patch will be
coming out pretty soon!

Dhaval
--
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/