Messages in this thread | | | Date | Tue, 08 Apr 2008 08:01:21 +0530 | From | Balbir Singh <> | Subject | Re: [-mm] Disable the memory controller by default (v2) |
| |
KAMEZAWA Hiroyuki wrote: > On Mon, 07 Apr 2008 18:32:15 +0530 > Balbir Singh <balbir@linux.vnet.ibm.com> wrote: > >> >> Changelog v1 >> >> 1. Split cgroup_disable into cgroup_disable and cgroup_enable >> 2. Remove cgroup_toggle >> >> Due to the overhead of the memory controller. The >> memory controller is now disabled by default. This patch adds cgroup_enable. >> >> If everyone agrees on this approach and likes it, should we push this >> into 2.6.25? >> >> Signed-off-by: Balbir Singh <balbir@linux.vnet.ibm.com> >> --- > BTW, how the user can know which controllers are on/off at default ? > All controllers are off ? >
/proc/cgroups has an enabled field (fourth one). That should show what is enabled/disabled. I've also documented it in Documentation/kernel-parameters.txt. I intend to enable the memory controller again, once we bring down the overhead.
-- Warm Regards, Balbir Singh Linux Technology Center IBM, ISTL
| |