lkml.org 
[lkml]   [2003]   [May]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Race between vmtruncate and mapped areas?

    --On Wednesday, May 14, 2003 11:17:48 -0700 Andrew Morton <akpm@digeo.com>
    wrote:

    > I think it might be sufficient to re-check the page against i_size
    > after IO completion in filemap_nopage().

    It would definitely make the window a lot smaller, though it won't quite
    close it. To be entirely safe we'd need to recheck after we've retaken
    page_table_lock.

    Dave

    ======================================================================
    Dave McCracken IBM Linux Base Kernel Team 1-512-838-3059
    dmccr@us.ibm.com T/L 678-3059
    -
    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:35    [from the cache]
    ©2003-2014 Jasper Spaans. Advertise on this site