Re: Possible Idea with filesystem buffering.

Horst von Brand
2002-01-21T09:14:06Z

Hans Reiser <reiser@namesys.com> said:
> Rik van Riel wrote:

[...]

>On basically any machine we'll have multiple memory zones.
> >
> >Each of those memory zones has its own free list and each
> >of the zones can get low on free pages independantly of the
> >other zones.
> >
> >This means that if the VM asks to get a particular page
> >freed, at the very minimum you need to make a page from the
> >same zone freeable.

> I'll discuss with Josh tomorrow how we might implement support for that.
> A clean and simple mechanism does not come to my mind immediately.

Free the page you were asked to free, optionally free anything else you
might want to. Anything else sounds like a gross violation of layering to
me.

The other way would be for the VM to say "Free at least <n> pages of this
", but that gives a complicated API.
--
Horst von Brand http://counter.li.org # 22616