Re: [patch] swap cache read accesses

Stephen C. Tweedie (sct@redhat.com)
Wed, 5 May 1999 16:07:32 +0100 (BST)


Hi,

On Tue, 4 May 1999 21:37:46 +0200 (CEST), Andrea Arcangeli
<andrea@e-mind.com> said:

> I'll reput the !write_acess back here too just because seems to make tons
> of sense, even if with such logic my 70mbyte of swap are too low for
> 128mbyte of RAM, at least while running the bw_mem rd test... :(

Yep. However, notice that these swap cache pages can be reclaimed with
no cost except for the performance cost, so it's not unreasonable to
think that at some point we might free them automatically if swap gets
low. That somewhat defeats the purpose of doing the caching, but it's
better than swapping to death and should still be considered an
error cleanup condition.

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