From: Robin Murphy Subject: Re: [PATCH 2/4] dma-debug: Refactor dma_debug_entry allocation Date: Tue, 4 Dec 2018 16:09:30 +0000 Message-ID: <4efce7aa-2146-e759-1214-04bab917db2f@arm.com> References: <20181204142731.GB2767@lst.de> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20181204142731.GB2767-jcswGhMUV9g@public.gmane.org> Content-Language: en-GB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org Errors-To: iommu-bounces-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org To: Christoph Hellwig Cc: cai-0UDz38MK/Mo@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, iommu-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org List-Id: iommu@lists.linux-foundation.org On 04/12/2018 14:27, Christoph Hellwig wrote: > 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? Yes, that's definitely nicer. > Otherwise this looks fine to me. Thanks (and for the review on #1) Robin.