Messages in this thread | ![/](/images/icornerl.gif) | | Subject | Re: Physically contiguous (DMA) memory allocation | From | Alan Cox <> | Date | 09 Aug 2003 11:59:01 +0100 |
| |
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/
| ![\](/images/icornerr.gif) |