Re: strange VM and swap behavior ?

Andrea Arcangeli (andrea@suse.de)
Tue, 31 Aug 1999 15:42:11 +0200 (CEST)


On 31 Aug 1999, Marc Lefranc wrote:

>The only thing I have still difficulties with is the fact that after
>terminating xanim, a high amount of swap space remains used:

The swap cache will be shrunk when necessary. We could remove the
not-shared swapcache if we would do so, but we choosed to do things on
demand and to have less code into the kernel.

>larger swap space than for the previous kernel generation ? Indeed, we
>can arrive at a situation where all running processes will have pages
>with copies in the on-disk swap space and in the swap cache. If I'm

At that time the swap-cache pages will be unmapped and the pte will be
filled with the swap-entry infomation.

Andrea

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