Re: [PATCH 1/2] x86: avoid unnecessary low zone allocation inCalgary's alloc_coherent

From: Muli Ben-Yehuda
Date: Thu Sep 11 2008 - 14:10:38 EST


On Thu, Sep 11, 2008 at 11:08:47PM +0900, FUJITA Tomonori wrote:
> x86's common alloc_coherent (dma_alloc_coherent in dma-mapping.h) sets
> up the gfp flag according to the device dma_mask but Calgary doesn't
> need it because of virtual mappings. This patch avoids unnecessary low
> zone allocation.
>
> Signed-off-by: FUJITA Tomonori <fujita.tomonori@xxxxxxxxxxxxx>
> Cc: Alexis Bruemmer <alexisb@xxxxxxxxxx>
> Cc: Muli Ben-Yehuda <muli@xxxxxxxxxx>

Looks good,

Acked-by: Muli Ben-Yehuda <muli@xxxxxxxxxx>

Cheers,
Muli
--
Workshop on I/O Virtualization (WIOV '08)
Co-located with OSDI '08, Dec 2008, San Diego, CA
http://www.usenix.org/wiov08
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/