[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <6599ad830804071048u5e0687dfy4313467fd95dab1c@mail.gmail.com>
Date: Mon, 7 Apr 2008 10:48:23 -0700
From: "Paul Menage" <menage@...gle.com>
To: balbir@...ux.vnet.ibm.com
Cc: "KOSAKI Motohiro" <m-kosaki@...es.dti.ne.jp>,
"Andi Kleen" <andi@...stfloor.org>,
"Andrew Morton" <akpm@...ux-foundation.org>,
"YAMAMOTO Takashi" <yamamoto@...inux.co.jp>,
linux-kernel@...r.kernel.org, linux-mm@...ck.org,
"Pavel Emelianov" <xemul@...nvz.org>, hugh@...itas.com,
"KAMEZAWA Hiroyuki" <kamezawa.hiroyu@...fujitsu.com>
Subject: Re: [-mm] Disable the memory controller by default
On Mon, Apr 7, 2008 at 5:16 AM, Balbir Singh <balbir@...ux.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
--
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