Re: Large (~2MB) PCI-DMA buffer

From: Pauline Middelink (middelink@polyware.nl)
Date: Sun Jan 09 2000 - 12:13:19 EST


On Sat, Jan 08, 2000 at 02:57:24PM +0100, Rogier Wolff wrote:
> Pauline Middelink wrote:
> > 2. Use __get_free_pages() for a range of pages. This will fail
> > eventualy when the memory gets more and more fragmented.
>
> Note: this works to just under 128k blobs of memory. (Or am I showing
> my lack of 2.3-kernel-reading again?)

No, it's true for kernels with the zone-allocator. The previous
version allowed me to allow 4MB pieces, but the zone-allocator
has a maximum-order :(

mmzone.h(18): #define MAX_ORDER 10

<non-serious-attack-of-selfpity>
Sniffers, I feel /so/ left out with my poor zoran card :)
</non-serious-attack-of-selfpity>

    Met vriendelijke groet,
        Pauline Middelink

-- 
PGP Key fingerprint = DE 6B D0 D9 19 AD A7 A0  58 A3 06 9D B6 34 39 E2
For more details look at my website http://www.polyware.nl/~middelink

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



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:14 EST