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

> 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

Alex Bligh
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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