lkml.org 
[lkml]   [2008]   [Feb]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Memory Resource Controller Add Boot Option
Paul Menage wrote:
> On Mon, Feb 25, 2008 at 7:01 PM, Li Zefan <lizf@cn.fujitsu.com> wrote:
>> >
>> > - foo doesn't show up in /proc/cgroups
>>
>> Or we can print out the disable flag, maybe this will be better?
>> Because we can distinguish from disabled and not compiled in from
>>
>> /proc/cgroups.
>
> Certainly possible, if people felt it was useful.
>
>> > - foo isn't auto-mounted if you mount all cgroups in a single hierarchy
>> > - foo isn't visible as an individually mountable subsystem
>>
>> You mentioned in a previous mail if we mount a disabled subsystem we
>> will get an error. Here we just ignore the mount option. Which makes
>> more sense ?
>>
>
> No, we don't ignore the mount option - we give an error since it
> doesn't refer to a valid subsystem. (And in the first case there is no
> mount option).
>

You are write, -ENOENT will be returned in this case. I made a mistake when
reading the prototype patch, thanks for the clarification. :)



\
 
 \ /
  Last update: 2008-02-26 10:09    [W:0.050 / U:2.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site