Re: [PATCH 06/22] mm: factor out a devm_request_free_mem_region helper

Christoph Hellwig
2019-06-14T06:25:23Z

On Thu, Jun 13, 2019 at 07:16:35PM +0000, Jason Gunthorpe wrote:
> I wonder if IORES_DESC_DEVICE_PRIVATE_MEMORY should be a function
> argument?

No. The only reason to use this function is to allocate the fake
physical address space for the device private memory case. If you'd
deal with real resources you'd use the normal resource allocator.