Re: [PATCH] dma-contiguous: add optional cma_name for cma= kernel parameter

From: Christoph Hellwig
Date: Fri Sep 23 2022 - 10:48:15 EST


On Tue, Sep 13, 2022 at 11:45:17AM +0100, Robin Murphy wrote:
> If userspace expects the CMA heap driver to expose a consistent name for
> CMA heaps, shouldn't it be the CMA heap driver's responsibility to expose a
> consistent name for CMA heaps? Tinkering with the core CMA code doesn't
> feel like the right approach.

Agreed. In fact I think exposing this name in a uapi seems like a really
bad idea that is asking for a lot of trouble.