Re: journaling & VM (was: Re: reiserfs being part of the kernel: it'snot just the code)

Stephen C. Tweedie
2000-06-07T20:54:36Z

Hi,

On Wed, Jun 07, 2000 at 01:16:04PM -0700, Hans Reiser wrote:

> "Quintela Carreira Juan J." wrote:
> > If you need pages in the LRU cache only for getting notifications,
> > then change the system to send notifications each time that we are
> > short of memory.
>
> I think the right thing is for the filesystems to use the LRU code as templates
> from which they may vary or not from in implementing their subcaches with their
> own lists. I say this for intuitive not concrete reasons.

Every time we have tried to keep the caches completely separate, we
have ended up losing the ability to balance the various caches against
each other. The major advantage of a common set of LRU lists is that
it gives us a basis for a balanced VM.

Cheers,
Stephen