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

Christoph Hellwig hch at lst.de
Tue Dec 4 14:27:31 UTC 2018


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.


More information about the iommu mailing list