david at gibson.dropbear.id.au
Sun Jul 21 23:23:40 EST 2002
On Sat, Jul 20, 2002 at 05:22:13PM +0200, Benjamin Herrenschmidt wrote:
> >Arguably setting PageReserved is the Right Thing, since
> >consistent_alloc() memory obviously shouldn't be swapped or paged.
> >However, it's only relevant if the memory is mapped into userspace,
> >and then a driver can set VM_IO on the vma to prevent this.
> An other issue I had with AGP is, I think, killing the userspace
> process mmap'ing some of this memory will cause the kernel to try
> to free the pages if not PageReserved
Surely it shouldn't if VM_IO is set.
David Gibson | For every complex problem there is a
david at gibson.dropbear.id.au | solution which is simple, neat and
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-embedded