Messages in this thread |  | | Date | Mon, 30 Oct 2000 14:21:16 -0800 (PST) | From | Linus Torvalds <> | Subject | Re: [PATCH] Re: test10-pre7 |
| |
On Mon, 30 Oct 2000, Alexander Viro wrote: > > > I didn't actually miss it, I just looked at the users and decided that it > > looks like they should never have this issue. But I might have missed > > something. As far as I can tell, "read_cache_page()" is only used for > > meta-data like things that cannot be truncated. > > invalidate_inode_pages().
Nope. It checks the page count these days, so it would never kill such a page from under us (we increment the page count while holding the pagecache lock).
But yes, I'm starting to agree with you more and more..
Linus
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |