lkml.org 
[lkml]   [2011]   [May]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFC][PATCH v7 11/14] memcg: create support routines for writeback
    On Fri, 13 May 2011 01:47:50 -0700
    Greg Thelen <gthelen@google.com> wrote:

    > Introduce memcg routines to assist in per-memcg writeback:
    >
    > - mem_cgroups_over_bground_dirty_thresh() determines if any cgroups need
    > writeback because they are over their dirty memory threshold.
    >
    > - should_writeback_mem_cgroup_inode() determines if an inode is
    > contributing pages to an over-limit memcg.
    >
    > - mem_cgroup_writeback_done() is used periodically during writeback to
    > update memcg writeback data.
    >
    > Signed-off-by: Greg Thelen <gthelen@google.com>

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

    I'm okay with the bitmap..then, problem will be when set/clear wbc->for_cgroup...




    \
     
     \ /
      Last update: 2011-05-13 12:13    [W:0.028 / U:152.492 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site