Messages in this thread | | | Date | Mon, 21 Apr 2008 08:48:30 -0700 | From | "Paul Menage" <> | Subject | Re: -mm merge plans for 2.6.26 (memcgroup) |
| |
On Mon, Apr 21, 2008 at 2:42 AM, Peter Zijlstra <peterz@infradead.org> wrote: > > This would enable the memory controller by default, it can be disabled > > using cgroup_disable=memory at boot time. > > how about working on a runtime switch that only enables the whole > memcgroup machinery when an actual cgroup gets created - and disable it > again once the last cgroup goes. >
Or more specifically, enable memory tracking when the mem controller gets bound to a cgroup hierarchy, and disable it when the controller is unbound.
Paul
| |