Re: mapping physical memory

From: Pauline Middelink (middelink@polyware.nl)
Date: Fri Jan 26 2001 - 11:28:56 EST


On Fri, 26 Jan 2001 around 05:39:38 -0500, Dan Maas wrote:
> > I need to be able to obtain and pin approximately 8 MB of
> > contiguous physical memory in user space. How would I go
> > about doing that under Linux if it is at all possible?
>
> The only way to allocate that much *physically* contiguous memory is by
> writing a driver that grabs it at boot-time (I think the "bootmem" API is
> used for this). This is an extreme measure and should rarely be necessary,
> except in special cases such as primitive PCI cards that lack support for
> scatter/gather DMA.

Or is you want to reuse that memory between apps, use the bigphysarea
patch. Yes, its available for 2.4.0 now :)

    Met vriendelijke groet,
        Pauline Middelink

-- 
GPG Key fingerprint = 2D5B 87A7 DDA6 0378 5DEA  BD3B 9A50 B416 E2D0 C3C2
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.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 31 2001 - 21:00:25 EST