lkml.org 
[lkml]   [2020]   [Mar]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [rfc 3/6] dma-remap: wire up the atomic pools depending on gfp mask
On Sun, Mar 01, 2020 at 04:05:16PM -0800, David Rientjes wrote:
>
> When allocating non-blockable memory, determine the optimal gfp mask of
> the device and use the appropriate atomic pool.
>
> The coherent DMA mask will remain the same between allocation and free
> and, thus, memory will be freed to the same atomic pool it was allocated
> from.

I think this should go into the previous patch, as it is rather pointless
without the changes in this one.

\
 
 \ /
  Last update: 2020-03-05 16:43    [W:1.426 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site