lkml.org 
[lkml]   [2003]   [Aug]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Physically contiguous (DMA) memory allocation
From
Date
On Gwe, 2003-08-08 at 08:44, Anthony Truong wrote:
> Is there a quick solution to this problem, like increasing the size of
> the physically contiguous page pool (like in Windows NT and some other
> OS'es :-( )? (Is it a good idea to make this one of the future
> enhancements to Linux?) Or should I write a driver loaded at boot time
> grabbing the required memory pages and allocating them to my loadable
> driver when requested?
> Your suggestion is very much appreciated.

Without source code its hard to tell what you are doing but all
allocations made with the pci_* API in Linux are contiguous. If your
hardware requires a single contiguous 30Mb chunk then you have a problem
and will need to allocate at boot time.

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

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