[Devel] Re: [RFC][PATCH] freezer_cg: disable writing freezer.state of root cgroup
Li Zefan
lizf at cn.fujitsu.com
Tue Nov 4 00:01:19 PST 2008
Paul Menage wrote:
> On Mon, Nov 3, 2008 at 11:35 PM, Li Zefan <lizf at cn.fujitsu.com> wrote:
>> With this change, the root cgroup is unfreezable, and writing to
>> its freezer.state returns -EIO.
>
> EINVAL might be more consistent with other systems like cpusets.
>
Because writing FREEZE (or other invalid value) to freezer.state returns EIO..
Or that EIO should be also changed to EINVAL.
> Or maybe just skip populating the file entirely for the root cgroup?
> It's not useful if it can't be written and always returns the same
> value.
>
I thought about this. I'll see which way Matt and Cedric prefer.
_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
More information about the Devel
mailing list