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

From: FUJITA Tomonori
Date: Wed Aug 04 2010 - 20:21:24 EST


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/