Re: memory handling in pre5/pre6

From: Stephen C. Tweedie (sct@redhat.com)
Date: Tue Apr 18 2000 - 15:40:43 EST


Hi,

On Tue, Apr 18, 2000 at 08:20:40PM +0200, Andrea Arcangeli wrote:
>
> You'll lockup. Also you aren't fixing anything. There is no race to fix in
> truncate_inode_pages.

Are you sure it's safe to be removing the page from the lru lists even
if the page is actively in use by another process? That's what
truncate_inode_pages can do --- it doesn't check the page refcount
before discarding it.

--Stephen

-
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/



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:14 EST