Re: VM_RESERVED [was Re: mapping user space buffer to kernel address space]

From: Andrea Arcangeli (andrea@suse.de)
Date: Fri Oct 20 2000 - 13:00:23 EST


On Fri, Oct 20, 2000 at 01:46:53PM -0400, Jeff Garzik wrote:
> In any case, we shouldn't modify videodev.c to call vma_reserve()...
> Let the driver's mmap operation do that or not do that, as it chooses.

It can't with the current mmap video4linux kernel API.

In practice it doesn't matter because none driver (before your VIA soundcard :)
is implementing the swapout callback. And vma_reserve fits perfectly in your
->nopage driver too.

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



This archive was generated by hypermail 2b29 : Mon Oct 23 2000 - 21:00:16 EST