Re: [PATCH 2/4] dma-debug: Refactor dma_debug_entry allocation

From: Christoph Hellwig
Date: Tue Dec 04 2018 - 09:27:34 EST


On Mon, Dec 03, 2018 at 05:28:07PM +0000, Robin Murphy wrote:
> Make prealloc_memory() a little more general and robust so that it
> serves for runtime reallocations too. The first thing we can do with
> that is clean up dma_debug_resize_entries() quite a bit.

Maybe also renamed it to dma_debug_alloc_entries or something like
that?

Otherwise this looks fine to me.