[PATCH] arm: dma: Drop GFP_COMP for DMA memory allocations

Russell King - ARM Linux linux at arm.linux.org.uk
Wed Nov 23 18:39:57 EST 2011


On Wed, Nov 23, 2011 at 11:10:03AM -0800, Stephen Warren wrote:
> Stephen Warren wrote at Wednesday, November 09, 2011 11:04 AM:
> > Stephen Warren wrote at Friday, November 04, 2011 3:36 PM:
> > > 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 3611553ef985ef7c5863c8a94641738addd04cff).
> > >
> > > Signed-off-by: Sumit Bhattacharya <sumitb at nvidia.com>
> > > Tested-by: Varun Colbert <vcolbert at nvidia.com>
> > > [swarren: s/HUGETLB_PAGE/HUGETLBFS/ in comment, minor comment cleanup]
> > > Signed-off-by: Stephen Warren <swarren at nvidia.com>
> > 
> > Russell, does this look good to go in the patch system now?
> 
> ping?

I think so.



More information about the linux-arm-kernel mailing list