Re: Possible Idea with filesystem buffering.

Rik van Riel (riel@conectiva.com.br)
Sun, 20 Jan 2002 20:00:51 -0200 (BRST)


On Mon, 21 Jan 2002, Hans Reiser wrote:

> >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.

Note that in order to support more reliable allocation of
contiguous memory areas (eg. for loading modules) we may
also want to add some simple form of defragmentation to
the VM.

If you really want to make life easy for the VM, ->writepage()
should work towards making the page it is called for freeable.

You probably want to do this since an easy VM is good for
performance and it would be embarrasing if reiserfs had the
worst performance under load simply due to bad interaction
with other subsystems...

kind regards,

Rik

-- 
"Linux holds advantages over the single-vendor commercial OS"
    -- Microsoft's "Competing with Linux" document

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/