]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: dma: Drop __GFP_COMP for iommu dma memory allocations
authorRichard Zhao <rizhao@nvidia.com>
Thu, 20 Jun 2013 12:31:00 +0000 (20:31 +0800)
committerMarek Szyprowski <m.szyprowski@samsung.com>
Fri, 21 Jun 2013 07:52:26 +0000 (09:52 +0200)
commit75fa1f28ecd2298ce8f41beb1961ac3c58a985d1
tree661dff12a1d37d53ae7369e43cfc02d96a5e94b7
parent5cc3ad70b899f829f7f715560f0744b8cf1dabd2
ARM: dma: Drop __GFP_COMP for iommu dma memory allocations

__iommu_alloc_buffer wants to split pages after allocation in order to
reduce the memory footprint. This does not work well with __GFP_COMP
pages, so drop this flag before allocation

One failure example is snd_malloc_dev_pages call dma_alloc_coherent with
__GFP_COMP.

Signed-off-by: Richard Zhao <rizhao@nvidia.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
arch/arm/mm/dma-mapping.c