Linux-kernel mailing list archive 2000-02,: Re: Large (~2MB) PCI-DMA buffer

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

Pauline Middelink (middelink@polyware.nl)
Sun, 9 Jan 2000 18:13:19 +0100

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Stanislav Malyshev: "Re: Data corruption reading IDE CD-ROM in 2.2.x"
- Previous message: kuznet@ms2.inr.ac.ru: "Re: Linux Kernel 2.0.x/2.2.x local Denial of Service attack"

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/

- Next message: Stanislav Malyshev: "Re: Data corruption reading IDE CD-ROM in 2.2.x"
- Previous message: kuznet@ms2.inr.ac.ru: "Re: Linux Kernel 2.0.x/2.2.x local Denial of Service attack"