Re: [patch] swap cache read accesses

Linus Torvalds (torvalds@transmeta.com)
Tue, 4 May 1999 10:32:02 -0700 (PDT)


On Tue, 4 May 1999, Andrea Arcangeli wrote:
:
> I was running `./bw_mem 120m rd' (from lmbench) and I noticed my swap to
> be eaten completly in some second. All the cache was full of swap cache
> pages.
>
> The problem is that there is no good reason to map in the process a
> read-only swap cache page if the swap cache page was not shared.

Agreed, applied,

Linus

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