[RFC][PATCH] freezer_cg: disable writing freezer.state of root cgroup

Paul Menage menage at google.com
Mon Nov 3 23:56:13 PST 2008


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.

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.

Paul


More information about the Containers mailing list