lkml.org 
[lkml]   [2008]   [Nov]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC][PATCH] freezer_cg: disable writing freezer.state of root cgroup
    From
    On Tue, Nov 4, 2008 at 12:01 AM, Li Zefan <lizf@cn.fujitsu.com> wrote:
    > Paul Menage wrote:
    >> On Mon, Nov 3, 2008 at 11:35 PM, Li Zefan <lizf@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.

    Yes, I think that should be EINVAL too - seems more consistent.

    Paul


    \
     
     \ /
      Last update: 2008-11-06 01:51    [W:0.021 / U:0.144 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site