Skip to content
Snippets Groups Projects
user avatar
Sumit Bhattacharya authored
dma_alloc_coherent 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.

This patch is ported from arch/avr32
(commit 3611553e).

[swarren: s/HUGETLB_PAGE/HUGETLBFS/ in comment, minor comment cleanup]

Signed-off-by: default avatarSumit Bhattacharya <sumitb@nvidia.com>
Tested-by: default avatarVarun Colbert <vcolbert@nvidia.com>
Signed-off-by: default avatarStephen Warren <swarren@nvidia.com>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
ea2e7057
History
Name Last commit Last update