Re: [RFC PATCH] block, fs: use FOLL_LONGTERM as gup_flags for direct IO

Bart Van Assche
2025-03-12T16:03:24Z

On 3/12/25 8:52 AM, Christoph Hellwig wrote:
> I'd still like to understand what the use case is. Who does CMA
> allocation at a time where heavy direct I/O is in progress?

An additional question: why is contiguous memory allocated? Is this
perhaps because the allocated memory will be used for DMA? If so,
can the SMMU be used to make it appear contiguous to DMA clients?

Thanks,

Bart.