lkml.org 
[lkml]   [2015]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 03/10] mm, page_alloc: Remove unnecessary recalculations for dirty zone balancing
    On Mon, 20 Jul 2015, Mel Gorman wrote:

    > From: Mel Gorman <mgorman@suse.de>
    >
    > File-backed pages that will be immediately dirtied are balanced between
    > zones but it's unnecessarily expensive. Move consider_zone_balanced into
    > the alloc_context instead of checking bitmaps multiple times.
    >
    > Signed-off-by: Mel Gorman <mgorman@suse.de>

    Acked-by: David Rientjes <rientjes@google.com>

    consider_zone_dirty eliminates zones over their dirty limits and
    zone_dirty_ok() returns true if zones are under their dirty limits, so the
    naming of both are a little strange. You might consider changing them
    while you're here.


    \
     
     \ /
      Last update: 2015-07-22 02:21    [W:4.570 / U:0.024 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site