lkml.org 
[lkml]   [2002]   [Jul]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch 2/13] remove pages from the LRU in __free_pages_ok()
    On Sun, 28 Jul 2002, Andrew Morton wrote:

    > And we took the lru_cache_del() out of truncate_complete_page()
    > because, err, I forget. There was a situation in which the page
    > could still be mapped into process pagetables, and the lru_cache_del()
    > would have left it unswappable until process exit.
    >
    > Rik, can you remember the exact scenario?

    Truncate vs. the page fault path. It would be possible for
    pages to be removed from the lru list by truncate and turning
    into anonymous process memory.

    This becomes a leak when only pages on the lru list can be
    paged out.

    regards,

    Rik
    --
    Bravely reimplemented by the knights who say "NIH".

    http://www.surriel.com/ http://distro.conectiva.com/

    -
    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-03-22 13:27    [W:2.180 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site