Re: [-mm] Disable the memory controller by default

From: Andi Kleen
Date: Mon Apr 07 2008 - 07:59:31 EST


On Mon, Apr 07, 2008 at 05:21:37PM +0530, Balbir Singh wrote:
>
>
> Due to the overhead of the memory controller. The
> memory controller is now disabled by default. This patch changes
> cgroup_disable to cgroup_toggle, so that each controller can decide
> whether it wants to be enabled/disabled by default.
>
> If everyone agrees on this approach and likes it, should we push this
> into 2.6.25?

First I like the change to make it disabled by default.

I don't think "toggle" is good semantics for a user visible switch
because that changes the meaning when the kernel default changes
(which it will likely once the current default overhead is fixed)

It should be rather: cgroup=on/off

-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/