Re: GFP_DMA32 and PAE x86 machines

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andi Kleen
Date: Thursday, May 31, 2007 - 5:11 am

> Funnily enough I have just today with an app I have which uses 1.2GB

Realistic app which is something users really run?
Also do the other constraints above apply?

If you use pci_alloc_coherent() then it will already take care of the rules
above btw (e.g. DTRT when the machine has <3GB etc.) 


You should be probably using pci_alloc_coherent() at least on x86.
It might get more expensive on some obscure platforms (which DRM
likely doesn't support anyways), but if it does perhaps a pci_alloc_noncoherent()
or so would be useful (on x86 it would be the same) 

-Andi
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
GFP_DMA32 and PAE x86 machines, Dave Airlie, (Wed May 30, 2:10 pm)
Re: GFP_DMA32 and PAE x86 machines, H. Peter Anvin, (Wed May 30, 2:29 pm)
Re: GFP_DMA32 and PAE x86 machines, Dave Airlie, (Wed May 30, 3:07 pm)
Re: GFP_DMA32 and PAE x86 machines, H. Peter Anvin, (Wed May 30, 3:13 pm)
Re: GFP_DMA32 and PAE x86 machines, Andi Kleen, (Wed May 30, 3:24 pm)
Re: GFP_DMA32 and PAE x86 machines, H. Peter Anvin, (Wed May 30, 3:31 pm)
Re: GFP_DMA32 and PAE x86 machines, Dave Airlie, (Wed May 30, 4:09 pm)
Re: GFP_DMA32 and PAE x86 machines, William Lee Irwin III, (Wed May 30, 4:21 pm)
Re: GFP_DMA32 and PAE x86 machines, Andi Kleen, (Thu May 31, 5:11 am)