Messages in this thread | | | Date | Fri, 25 Jun 1999 16:26:04 +0200 (CEST) | From | Ingo Molnar <> | Subject | Re: [patch] truncate inode page sleeps |
| |
On Fri, 25 Jun 1999, Andrea Arcangeli wrote:
> Since truncate_inode_page() can sleep if the page is under I/O, then > shrink_mmap may recycle the page from the page cache while truncate is > sleeping. This patch will fix the race.
this should not happen, because when we do the lock_page() we have done a get_page() - so shrink_mmap() cannot possibly do a remove_inode_page().
if it does then it's a shrink_mmap() bug. Can you see this happen in the original kernel tree as well?
-- mingo
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |