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