Re: page pre-swapping + moving it on cache-list

Stephan von Krawczynski (skraw@ithnet.com)
Thu, 6 Sep 2001 14:51:52 +0200


On Thu, 6 Sep 2001 08:29:03 -0300 (BRST) Rik van Riel <riel@conectiva.com.br>
wrote:

> On Thu, 6 Sep 2001, Samium Gromoff wrote:
>
> > Here is an idea i think i stole from Matthew Dillon`s paper.
> >
> > Actually it sound more like we take some pages from the near 0
> > age and swapping them out but not throwing them away, but moving them
> > from active list to cache. So that we can always throw them away
> > at near null cost while shrinking the cache. This is like a
> > replacement for swap-cache if i`m right here...
>
> This is called the "inactive_clean" list in Linux terminology. ;)

What's the use of an inactive_clean list anyway, or the effective difference
between its members and the members of memfree (I suspect such a list from the
output of /proc/meminfo)?
Besides the fact, that the splitting in two lists prevents proper
defragmentation (if you have pages in two lists you are not driven to defrag at
the point where you put them together in one).

Regards,
Stephan

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