Re: Race between vmtruncate and mapped areas?

William Lee Irwin III
2003-05-13T21:04:03Z

On Tue, May 13, 2003 at 11:58:21PM +0300, Mika Penttil? wrote:
> Isn't that what inode->i_sem is supposed to protect...?
> --Mika

It's already called under inode->i_sem. The trouble is that it's not
the ->i_sem but the ->page_lock that's taken by those it's racing
against.

-- wli