lkml.org 
[lkml]   [2000]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.053 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site