Messages in this thread | | | Date | Tue, 26 Mar 2019 15:53:22 -0700 | From | Nicolin Chen <> | Subject | Re: [PATCH RFC/RFT 2/5] dma-remap: Run alloc_pages() on failure |
| |
On Tue, Mar 26, 2019 at 03:49:56PM -0700, Nicolin Chen wrote: > @@ -116,7 +116,7 @@ int __init dma_atomic_pool_init(gfp_t gfp, pgprot_t prot) > if (dev_get_cma_area(NULL)) > page = dma_alloc_from_contiguous(NULL, nr_pages, > pool_size_order, false); > - else > + if (!page) > page = alloc_pages(gfp, pool_size_order);
Just realized a missing change in this patch, will send v2. Please ignore this version.
| |