Messages in this thread | | | Date | Fri, 17 Jan 2014 08:28:53 +0900 | Subject | Re: [PATCH v2 3/5] intel-iommu: integrate DMA CMA | From | Akinobu Mita <> |
| |
2014/1/16 Marek Szyprowski <m.szyprowski@samsung.com>: >> @@ -3019,17 +3019,31 @@ static void *intel_alloc_coherent(struct device >> *hwdev, size_t size, >> flags |= GFP_DMA32; >> } >> - vaddr = (void *)__get_free_pages(flags, order); >> - if (!vaddr) >> + if (!(flags & GFP_ATOMIC)) { > > > GFP_ATOMIC is not a flag, so please change the above check to: > if (flags & __GFP_WAIT)
Thanks for your review. I'll fix it in the next version.
| |