Thread (5 messages) flat view 5 messages, 2 authors, 2005-05-20

Re: DMA consistent allocation is limited to 2MB on 2.6.11 for ppc440?

From: Eugene Surovegin <hidden>
Date: 2005-05-19 02:09:55

On Wed, May 18, 2005 at 06:52:52PM -0700, Shawn Jin wrote:
Then what's your recommendation to allocate a big chunk of memory for
pci device? 
My recommendation - don't do this. Why do you need to allocate this 
big chunk of consistent memory in the first place? You can do DMA 
_without_ allocating "consistent" memory. In fact, this is how 
virtually all devices work in Linux. For more info about DMA API - 
look at Documentation/DMA-API.txt.

Technically, you can make consistent pool bigger, if you really insist 
on using this approach.

-- 
Eugene
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help