Re: [PATCH 3/4] dma-debug: Dynamically expand the dma_debug_entry pool

From: Christoph Hellwig
Date: Tue Dec 04 2018 - 09:17:48 EST


On Tue, Dec 04, 2018 at 01:11:37PM +0000, Robin Murphy wrote:
> In fact, having got this far in, what I'd quite like to do is to get rid of
> dma_debug_resize_entries() such that we never need to free things at all,
> since then we could allocate whole pages as blocks of entries to save on
> masses of individual slab allocations.

Yes, we should defintively kill dma_debug_resize_entries. Allocating
page batches might sound nice, but is that going to introduce additional
complexity?