Re: [RFC] first try for swap prefetch

From: Chuck Ebbert (76306.1226@compuserve.com)
Date: Fri Apr 11 2003 - 11:57:27 EST


John Bradford wrote:

> We could possibly avoid this by swapping the pages back
>in after one minute of inactivity, then letting the
>disk spin down.

  Why not also write pages out to swap before it's really necessary?
If they were left mapped but marked as having up-to-date copies
on swap, they could be discarded immediately if the system needed
memory. (Of course if they got written to they would have to be
paged out again.)

--
 "Let's fight until six, and then have dinner," said Tweedledum.
 --Lewis Carroll, _Through the Looking Glass_
-
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/



This archive was generated by hypermail 2b29 : Tue Apr 15 2003 - 22:00:23 EST