consistent_alloc() revisited

Benjamin Herrenschmidt benh at kernel.crashing.org
Sun Jul 21 01:22:13 EST 2002


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

Ben.


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-embedded mailing list