lkml.org 
[lkml]   [1999]   [Aug]   [31]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:53    [W:0.023 / U:0.996 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site