RE: About the need of a swap area

Alan Cox (alan@lxorguk.ukuu.org.uk)
28 Jul 2002 01:03:16 +0100


On Sat, 2002-07-27 at 23:39, Buddy Lumpkin wrote:
> Why would you want to push *anything* to swap until you have to?

To reduce the amount of disk access

> Dirty filesystem pages have to be flushed to disk, it's just a question of

Clean ones do not. Dirty ones are also copied to disk but remain in
memory for reread events. They may also be deleted before being written.

> and it's pretty relative what "long unaccessed" means ..

In the Linux case the page cache is basically not discriminating too
much about what page is (and it may be several things at once - cache,
executing code and file data) just its access history.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/