Re: journaling & VM

Stephen C. Tweedie
2000-06-08T21:29:50Z

Hi,

On Thu, Jun 08, 2000 at 11:44:35AM +0200, Ralf Baechle wrote:
> On Wed, Jun 07, 2000 at 06:11:44PM +0100, Stephen C. Tweedie wrote:
>
> > 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.
>
> some device drivers may also collect relativly large amounts of memory.
> In case of my HIPPI cards this may be in the range of megabytes. So I'd
> like to see a hook for freeing device memory.

Rik, here's yet another item for the wishlist on your new VM. :)

Device drivers really are a special case because they typically need
their memory at short notice, and at awkward times (such as in the
middle of interrupts). What sort of flexibility do you have regarding
the allocation/release of the buffer pull in your driver?

Cheers,
Stephen