lkml.org 
[lkml]   [2011]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 06/11] mm: memcg: remove optimization of keeping the root_mem_cgroup LRU lists empty
    On Mon, 12 Sep 2011 12:57:23 +0200
    Johannes Weiner <jweiner@redhat.com> wrote:

    > root_mem_cgroup, lacking a configurable limit, was never subject to
    > limit reclaim, so the pages charged to it could be kept off its LRU
    > lists. They would be found on the global per-zone LRU lists upon
    > physical memory pressure and it made sense to avoid uselessly linking
    > them to both lists.
    >
    > The global per-zone LRU lists are about to go away on memcg-enabled
    > kernels, with all pages being exclusively linked to their respective
    > per-memcg LRU lists. As a result, pages of the root_mem_cgroup must
    > also be linked to its LRU lists again.
    >
    > The overhead is temporary until the double-LRU scheme is going away
    > completely.
    >
    > Signed-off-by: Johannes Weiner <jweiner@redhat.com>

    Reviewed-by: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>



    \
     
     \ /
      Last update: 2011-09-13 12:37    [W:0.071 / U:59.280 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site