Messages in this thread | | | Date | Sun, 9 Jan 2000 18:13:19 +0100 | From | Pauline Middelink <> | Subject | Re: Large (~2MB) PCI-DMA buffer |
| |
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/
| |