Re: [PATCH 30/67] dma-direct: retry allocations using GFP_DMA for small masks

2018-01-04 Thread Christoph Hellwig
On Tue, Jan 02, 2018 at 04:43:15PM +, Vladimir Murzin wrote: > On 29/12/17 08:18, Christoph Hellwig wrote: > > If we got back an allocation that wasn't inside the support coherent mask, > > retry the allocation using GFP_DMA. > > > > Based on the x86 code. > > > > Signed-off-by: Christoph Hel

Re: [PATCH 30/67] dma-direct: retry allocations using GFP_DMA for small masks

2018-01-02 Thread Vladimir Murzin
On 29/12/17 08:18, Christoph Hellwig wrote: > If we got back an allocation that wasn't inside the support coherent mask, > retry the allocation using GFP_DMA. > > Based on the x86 code. > > Signed-off-by: Christoph Hellwig > --- > lib/dma-direct.c | 25 - > 1 file change

[PATCH 30/67] dma-direct: retry allocations using GFP_DMA for small masks

2017-12-29 Thread Christoph Hellwig
If we got back an allocation that wasn't inside the support coherent mask, retry the allocation using GFP_DMA. Based on the x86 code. Signed-off-by: Christoph Hellwig --- lib/dma-direct.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/lib/dma-direc