[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830811051648i72c2c585s4ee803e030c798ad@mail.gmail.com>
Date: Wed, 5 Nov 2008 16:48:26 -0800
From: Paul Menage <menage@...gle.com>
To: Li Zefan <lizf@...fujitsu.com>
Cc: Matt Helsley <matthltc@...ibm.com>,
Cedric Le Goater <clg@...ibm.com>,
"Rafael J. Wysocki" <rjw@...k.pl>,
Linux-Kernel <linux-kernel@...r.kernel.org>,
Linux Containers <containers@...ts.linux-foundation.org>,
linux-pm@...ts.linux-foundation.org,
Andrew Morton <akpm@...ux-foundation.org>,
"Serge E. Hallyn" <serue@...ibm.com>
Subject: Re: [RFC][PATCH] freezer_cg: disable writing freezer.state of root
cgroup
On Tue, Nov 4, 2008 at 12:01 AM, Li Zefan <lizf@...fujitsu.com> wrote:
> Paul Menage wrote:
>> On Mon, Nov 3, 2008 at 11:35 PM, Li Zefan <lizf@...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.
Yes, I think that should be EINVAL too - seems more consistent.
Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists