lkml.org 
[lkml]   [2008]   [Apr]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: -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


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