lkml.org 
[lkml]   [2008]   [Apr]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [-mm] Disable the memory controller by default
On Mon, Apr 7, 2008 at 5:16 AM, Balbir Singh <balbir@linux.vnet.ibm.com> wrote:
> No, it is not all bad. That can be done, but we need to guard against a usage like
>
> cgroup_disable=memory cgroup_enable=memory
>
> The user will probably get what he/she deserves for it.

I don't think we need to guard against that. It seems perfectly valid
to have a lilo config with

append="cgroup_disable=memory"

and then want to boot with the memory controller enabled you can do

lilo -R <image> cgroup_enable=memory

The kernel command line will then look like

"... cgroup_disable=memory cgroup_enable=memory"

and the last switch should win.

Paul


\
 
 \ /
  Last update: 2008-04-07 19:51    [W:0.032 / U:5.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site