Re: [RFC v1 1/4] dma-mapping: introduce the DMA_ATTR_MAY_SLEEP attribute

From: Christoph Hellwig
Date: Mon Mar 27 2023 - 23:57:45 EST


On Mon, Mar 20, 2023 at 01:28:13PM +0100, Petr Tesarik wrote:
> From: Petr Tesarik <petr.tesarik.ext@xxxxxxxxxx>
>
> Introduce a DMA attribute to tell the DMA-mapping subsystem that
> the operation is allowed to sleep.
>
> This patch merely adds the flag, which is not used for anything at
> the moment. It should be used by users who can sleep (e.g. dma-buf
> ioctls) to allow page reclaim and/or allocations from CMA.

So what drivers would call this? As-is it doesn't have any users in
the series.