lkml.org 
[lkml]   [2017]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH 1/5] mm: vmscan: scan dirty pages even in laptop mode
    On Mon, Jan 23, 2017 at 01:16:37PM -0500, Johannes Weiner wrote:
    > We have an elaborate dirty/writeback throttling mechanism inside the
    > reclaim scanner, but for that to work the pages have to go through
    > shrink_page_list() and get counted for what they are. Otherwise, we
    > mess up the LRU order and don't match reclaim speed to writeback.
    >
    > Especially during deactivation, there is never a reason to skip dirty
    > pages; nothing is even trying to write them out from there. Don't mess
    > up the LRU order for nothing, shuffle these pages along.
    >
    > Signed-off-by: Johannes Weiner <hannes@cmpxchg.org>
    Acked-by: Minchan Kim <minchan@kernel.org>

    \
     
     \ /
      Last update: 2017-01-26 02:28    [W:3.822 / U:0.252 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site