Re: [patch] 2.2.0-pre5 FreeAfter() check missing

Stephen C. Tweedie (sct@redhat.com)
Tue, 12 Jan 1999 16:51:02 GMT


Hi,

On Fri, 8 Jan 1999 12:15:39 +0100 (CET), Andrea Arcangeli
<andrea@e-mind.com> said:

> 2.2.0-pre5 doesn't check if the page is under async swapout before
> do a COW. I think it was not harming because shrink_mmap() should be able
> to shrink the orphaned swap cache page. But here the fix:

That's exactly what I meant when I said that a false positive on
is_page_shared doesn't hurt. I don't think it's worth complicating the
code over; we recover perfectly from this case anyway.

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