[lkml]   [2009]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [RFC][PATCH 7/8] memcg soft limit LRU reorder
    * KAMEZAWA Hiroyuki <> [2009-03-27 14:12:25]:

    > From: KAMEZAWA Hiroyuki <>
    > This patch adds a function to change the LRU order of pages in global LRU
    > under control of memcg's victim of soft limit.
    > FILE and ANON victim is divided and LRU rotation will be done independently.
    > (memcg which only includes FILE cache or ANON can exists.)
    > The routine finds specfied number of pages from memcg's LRU and
    > move it to top of global LRU. They will be the first target of shrink_xxx_list.

    This seems to be the core of the patch, but I don't like this very
    much. Moving LRU pages of the mem cgroup seems very subtle, why can't
    we directly use try_to_free_mem_cgroup_pages()?


     \ /
      Last update: 2009-03-30 09:55    [W:0.021 / U:0.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site