Re: [rfc 2/6] dma-remap: add additional atomic pools to map to gfp mask

2020-03-05 Thread Christoph Hellwig
On Sun, Mar 01, 2020 at 04:05:13PM -0800, David Rientjes wrote: > The single atomic pool is allocated from the lowest zone possible since > it is guaranteed to be applicable for any DMA allocation. > > Devices may allocate through the DMA API but not have a strict reliance > on GFP_DMA memory.

[rfc 2/6] dma-remap: add additional atomic pools to map to gfp mask

2020-03-01 Thread David Rientjes via iommu
The single atomic pool is allocated from the lowest zone possible since it is guaranteed to be applicable for any DMA allocation. Devices may allocate through the DMA API but not have a strict reliance on GFP_DMA memory. Since the atomic pool will be used for all non-blockable allocations,