Re: Using Bootmem for large DMA buffers in the presence of the slab allocator

From: Peter Crosthwaite
Date: Thu Aug 05 2010 - 20:02:52 EST


Hi Everyone,

Thanks for your replies. I am going to stick with my start_kernel()
edit until this CMA engine comes along.

Regards,
Peter

On Thu, Aug 5, 2010 at 10:16 AM, FUJITA Tomonori
<fujita.tomonori@xxxxxxxxxxxxx> wrote:
> On Wed, 4 Aug 2010 16:07:52 +1000
> Peter Crosthwaite <peter.crosthwaite@xxxxxxxxxxxxx> wrote:
>
>> I am currently developing Kernel code to allocate and reserve a large
>> (64MB) contiguous buffer for DMA.
>
> A buffer needs to be physically continuous (your hardware can't do
> scatter gather)? If so, as already pointed out, there is no pretty
> solution for it.
>
> There are some drivers that need to do such so the issue has been
> under discussion:
>
> http://marc.info/?l=linux-mm&m=128015343705933&w=2
>
--
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/