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

From: Paul Menage
Date: Tue Nov 04 2008 - 02:56:26 EST


On Mon, Nov 3, 2008 at 11:35 PM, Li Zefan <lizf@xxxxxxxxxxxxxx> 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
--
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/