lkml.org 
[lkml]   [2019]   [Oct]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] mm: export cma alloc and release
On Mon, Oct 07, 2019 at 09:50:31AM -0700, Mark Salyzyn wrote:
> On 10/5/19 1:37 AM, Christoph Hellwig wrote:
>> On Thu, Oct 03, 2019 at 09:55:28AM +0100, Catalin Marinas wrote:
>>> Aren't drivers supposed to use the DMA API for such allocations rather
>>> than invoking cma_*() directly?
>> Yes, they are.
>
> We have an engineer assigned to rewriting the ion memory driver to use
> dma_buf interfaces. Hopefully that effort will solve the problem of
> requiring these interfaces to be exported so that that driver (and others)
> can be modularized.
>
> Thanks for the reviews, drop this patch from the list and we will regroup,
> and accept that standing code in the kernel can not be modularized for the
> moment.

How is that different from the "DMA-BUF Heaps (destaging ION)" series
floating around?

\
 
 \ /
  Last update: 2019-10-07 18:53    [W:0.032 / U:0.452 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site