> > and it's pretty relative what "long unaccessed" means ..
>
> In the Linux case the page cache is basically not discriminating too
> much about what page is (and it may be several things at once - cache,
> executing code and file data) just its access history.
There is a case to make for evicting the page cache with more
priority than process memory ...
... but frequently accessed page cache memory should definately
stay in ram, while not accessed process memory should be evicted.
I'll make a quick patch for this (for recent 2.5) today.
regards,
Rik
-- Bravely reimplemented by the knights who say "NIH".http://www.surriel.com/ http://distro.conectiva.com/
- 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/