On Tue, 31 Aug 1999 15:42:11 +0200 (CEST), Andrea Arcangeli
> 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.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to firstname.lastname@example.org
Please read the FAQ at http://www.tux.org/lkml/