lkml.org 
[lkml]   [2010]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v4 11/11] memcg: check memcg dirty limits in page writeback
    On Fri, 29 Oct 2010 00:09:14 -0700
    Greg Thelen <gthelen@google.com> wrote:

    > If the current process is in a non-root memcg, then
    > balance_dirty_pages() will consider the memcg dirty limits
    > as well as the system-wide limits. This allows different
    > cgroups to have distinct dirty limits which trigger direct
    > and background writeback at different levels.
    >
    > Signed-off-by: Andrea Righi <arighi@develer.com>
    > Signed-off-by: Greg Thelen <gthelen@google.com>

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

    Ideally, I think some comments in the code for "why we need double-check system's
    dirty limit and memcg's dirty limit" will be appreciated.




    \
     
     \ /
      Last update: 2010-10-29 09:57    [W:3.070 / U:0.300 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site