Re: journaling & VM

Stephen C. Tweedie
2000-06-07T17:11:44Z

Hi,

On Wed, Jun 07, 2000 at 05:35:13PM +0100, John Fremlin wrote:
>
> You are saying, that the MM system maintains a list of pages, then
> when it wants to free some memory it goes down the list seeing which
> subsystem owns each page, and asks it to free some memory. (Correct me
> if I am wrong).
> That is, each filesystem or whatever can basically implement its own
> MM. If so, why not simply have a list of subsystems that own memory
> with some sort of measure of how much space they're wasting, and ask
> the ones with a lot to free some?

Because you want to have some idea of the usage patterns of the
pages, too, so that you can free pages which haven't been accessed
recently regardless of who owns them.

--Stephen