Re: DMA consistent allocation is limited to 2MB on 2.6.11 for ppc440?
From: Eugene Surovegin <hidden>
Date: 2005-05-19 01:24:07
From: Eugene Surovegin <hidden>
Date: 2005-05-19 01:24:07
On Wed, May 18, 2005 at 05:54:39PM -0700, Shawn Jin wrote:
The page table 'consistent_pte' covers the uncached DMA consistent allocation space. Its size is only one page, each page has 512 PTEs. That means only 2MB memory are available for DMA. For some applications this is not enough. So how to eliminate this limitation?
No, _all_ physical memory is available for DMA. "consistent" pool is used for small non-cached allocations, e.g. buffer descriptors, etc. Don't use it for actual data buffers. -- Eugene