Re: [PATCH 1/2] uio: introduce UIO_MEM_DMA_COHERENT type

From: Greg Kroah-Hartman
Date: Thu Feb 01 2024 - 10:04:20 EST


On Thu, Feb 01, 2024 at 05:46:37AM +0100, Christoph Hellwig wrote:
> As the least horrible way out this looks ok:
>
> Reviewed-by: Christoph Hellwig <hch@xxxxxx>
>
> Bt maybe you can add some commentary why this mem mode exists and
> why no one should be using it in new code?
>

Good idea, and perhaps a kernel log warning when this is used as well
just to prevent anyone new from ever considering it.

thanks,

greg k-h