lkml.org 
[lkml]   [2005]   [Aug]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [RFC 1/3] non-resident page tracking
    From
    From: Rik van Riel <riel@redhat.com>
    Date: Mon, 08 Aug 2005 16:14:17 -0400

    > @@ -359,7 +362,10 @@ struct page *read_swap_cache_async(swp_e
    > /*
    > * Initiate read into locked page and return.
    > */
    > - lru_cache_add_active(new_page);
    > + if (activate >= 0)
    > + lru_cache_add_active(new_page);
    > + else
    > + lru_cache_add(new_page);
    > swap_readpage(NULL, new_page);
    > return new_page;

    This change is totally unrelated to the rest of the
    patch, and is not mentioned in the changelog. Could
    you explain it?
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-08-08 22:28    [W:4.260 / U:0.028 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site