Re: DMA memory allocation --how to more than 1 MB

From: William Lee Irwin III
Date: Tue Oct 19 2004 - 05:43:21 EST


On Tue, Oct 19, 2004 at 11:18:13AM +0530, Srinivas G. wrote:
> I have a doubt about allocating the DMA memory using kmalloc OR
> __get_dma_pages OR pci_alloc_consistent. I was unable to allocate the
> memory greater than 1 MB using any one of the above memory functions.
> Is there any other method which will allocate the DMA memory greater
> than 1 MB?
> My system configuration is: Red Hat 7.3 with 2.4.18-3 kernel version on
> IA32 platform.

This is not supported at runtime. If this is an absolute requirement,
using the bootmem.c physical memory reservation system from architecture-
specific initialization code is the way.

It's more likely that you should be using scatter/gather than that you
should try to carry that out.


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