[lkml]   [2001]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: find_get_swapcache_page() question
    On Tue, 28 Aug 2001, Hugh Dickins wrote:

    > if (!PageSwapCache(found))
    > BUG();
    > if (found->mapping != &swapper_space)
    > BUG();
    > are not safe, since there may a concurrent remove_from_swap_cache(),
    > either from try_to_unuse() or from Rik's new vm_swap_full() deletion.
    > Those tests would be safe if the page were locked, but it's not.

    vm_swap_full() is called with the page locked,
    remove_from_swap_cache() also seems to want the
    page locked...

    IA64: a worthy successor to i860.

    Send all your spam to (spam digging piggy)

    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    More majordomo info at
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 12:58    [W:0.023 / U:17.988 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site