[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181204141743.GA2618@lst.de>
Date: Tue, 4 Dec 2018 15:17:43 +0100
From: Christoph Hellwig <hch@....de>
To: Robin Murphy <robin.murphy@....com>
Cc: John Garry <john.garry@...wei.com>, hch@....de,
m.szyprowski@...sung.com, iommu@...ts.linux-foundation.org,
linux-kernel@...r.kernel.org, cai@....us, salil.mehta@...wei.com
Subject: Re: [PATCH 3/4] dma-debug: Dynamically expand the dma_debug_entry
pool
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?
Powered by blists - more mailing lists