lkml.org 
[lkml]   [2008]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] VM: Implements the swap-out page-clustering technique
    On Sun, 07 Sep 2008 18:28:30 -0600
    Zan Lynx <zlynx@acm.org> wrote:
    > Rik van Riel wrote:
    > [cut]
    > > On the other hand, you do want to avoid evicting data
    > > that the process is still using, just because you are
    > > swapping out a not recently referenced page on a
    > > nearby virtual address.
    >
    > How about writing the nearby pages to swap anyway and mark the still
    > in-use pages as SwapCache.

    That is what will happen pretty much automatically.

    Another thing the swap out page clustering code could
    do is move pages that were recently referenced back
    to the active list, so the VM will not have to scan
    those pages again.

    --
    All rights reversed.


    \
     
     \ /
      Last update: 2008-09-08 02:57    [W:0.040 / U:62.824 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site