Re: [PATCH v1 1/2] mm: cma: introduce cma_release_nowait()

From: Roman Gushchin
Date: Tue Oct 27 2020 - 15:56:51 EST


On Sat, Oct 24, 2020 at 08:59:59AM +0100, Christoph Hellwig wrote:
> Btw, I think we also need to use this nonblocking version from
> dma_free_contiguous. dma_free* is defined to not block. In practice
> callers mostly care if they also did GFP_ATOMIC allocations, which
> don't dip into CMA, but I think we do have a problem.

It's a good point!
Do you mind mastering a patch? I can include it into the patchset.

Thanks!