[lkml]   [2011]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    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 <> 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 <>

    Reviewed-by: KAMEZAWA Hiroyuki <>

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