From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D56F1C28D13 for ; Mon, 22 Aug 2022 11:20:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233768AbiHVLUD (ORCPT ); Mon, 22 Aug 2022 07:20:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46704 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232953AbiHVLUB (ORCPT ); Mon, 22 Aug 2022 07:20:01 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5B9691C137 for ; Mon, 22 Aug 2022 04:20:00 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id AEFF668AA6; Mon, 22 Aug 2022 13:19:56 +0200 (CEST) Date: Mon, 22 Aug 2022 13:19:56 +0200 From: Christoph Hellwig To: Robin Murphy Cc: hch@lst.de, m.szyprowski@samsung.com, iommu@lists.linux.dev, linux-kernel@vger.kernel.org, Yunfei Wang Subject: Re: [PATCH] dma-debug: Improve search for partial syncs Message-ID: <20220822111956.GA9920@lst.de> References: <35bf2add5ae803b0355d556f965090d4014e574e.1660590752.git.robin.murphy@arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <35bf2add5ae803b0355d556f965090d4014e574e.1660590752.git.robin.murphy@arm.com> User-Agent: Mutt/1.5.17 (2007-11-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 15, 2022 at 08:28:40PM +0100, Robin Murphy wrote: > Having come back and looked at this for long enough to realise that > max_range itself was both wrong and not actually useful, I figured it > was easiest just to write the whole thing up as an alternative patch. Yes, this looks much better than the original code. Yunfei, can you test this for your specific case as well?