lkml.org 
[lkml]   [2001]   [Sep]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: page pre-swapping + moving it on cache-list
Helge,

> somehow I don't think garbage collection runs will be that fun
> in a trashing situation.

Quite possibly

> Don't these algorithms look all over
> your stack & heap for pointers? That will surely cause lots
> of io as all the apps memory is paged in so the gc algorithm
> may look at it.

No - it would look through things like the free area
table, the buddy bitmaps, the page table & lists etc., all
of which are, of course, in kernel memory. So while
it may do unfortunate things to the cache, it doesn't
need to touch application memory in order to determine
which pages to twiddle with. Of course twiddling the
pages themselves requires access to them, but if they
are out on disk already they consume (or, if on
InactiveClean, could consume) no physical memory
so are the least of our problems w.r.t. memory
defragmentation.

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

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