Re: Race between vmtruncate and mapped areas?
From: Dave McCracken <hidden>
Date: 2003-05-14 18:11:49
Also in:
lkml
From: Dave McCracken <hidden>
Date: 2003-05-14 18:11:49
Also in:
lkml
--On Wednesday, May 14, 2003 11:17:48 -0700 Andrew Morton [off-list ref] 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, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>