Re: journaling & VM

From: Stephen C. Tweedie (sct@redhat.com)
Date: Wed Jun 07 2000 - 12:11:44 EST


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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jun 07 2000 - 21:00:29 EST