Messages in this thread | | | From | "Stephen C. Tweedie" <> | Date | Tue, 31 Aug 1999 19:45:53 +0100 (BST) | Subject | Re: strange VM and swap behavior ? |
| |
Hi,
On Tue, 31 Aug 1999 15:42:11 +0200 (CEST), Andrea Arcangeli <andrea@suse.de> said:
> 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.
Added to which, it means we pay the reclamation cost at most once for every page left in the swap cache, whereas cleaning up at exit() time would require extra work for every single page in the process to test whether there is a swap cache reclaim required.
--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/
| |