The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Juanlu Herrero <juanlu@fastmail.com>
To: Marek Szyprowski <m.szyprowski@samsung.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
	 "David S. Miller" <davem@davemloft.net>,
	Jakub Kicinski <kuba@kernel.org>,
	 Paolo Abeni <pabeni@redhat.com>, Shuah Khan <shuah@kernel.org>,
	 Robin Murphy <robin.murphy@arm.com>,
	Eric Dumazet <edumazet@kernel.org>,
	netdev@vger.kernel.org,  linux-kselftest@vger.kernel.org,
	linux-kernel@vger.kernel.org, iommu@lists.linux.dev
Subject: Re: [PATCH 0/3] dma-debug: skip irrelevant buckets for partial syncs
Date: Thu, 3 Dec 2026 09:29:23 -0800	[thread overview]
Message-ID: <axGmK54eeH7A436k@devvm8761.dkl0.facebook.com> (raw)
In-Reply-To: <778b6afe-b25e-4906-bf4d-c6cead3bddd3@samsung.com>

On Thu, Dec 03, 2026 at 01:17:34PM +0100, Marek Szyprowski wrote:
> On 10.11.2026 22:36, Juanlu Herrero wrote:
> > Make the ZCRX area size configurable, skip DMA debug buckets that cannot
> > contain a partial sync, and add KUnit coverage for bucket bounds.
> >
> > Earlier Fastio ZCRX registration means with DMA debug enabled:
> >
> >   driver   pages    before     after      time saved
> >   mlx5      65536   4.720 s    0.942 s     3.778 s
> >   bnxt_en  131072  10.658 s    0.556 s    10.102 s
> >
> > These runs used an earlier patch revision and workload. Later
> > SG-controlled CX7 runs showed no overall registration gain.
> >
> > Validation: KUnit with KASAN/lockdep, W=1 build and checkpatch passed.
> >
> > Codex assisted with implementation, review and validation.
> >
> > Signed-off-by: Juanlu Herrero <juanlu@fastmail.com>
> 
> 
> It took me a while to understand this optimization and indeed it looks
> correct. I would like to take the whole patchset to dma-mapping-for-next.
> Any objections about taking also the first patch via my tree?
> 
> Best regards
> -- 
> Marek Szyprowski, PhD
> Samsung R&D Institute Poland
> 

No objections from my side, but I can also re-send the dma-debug changes
separate from the zcrx selftest changes to make life easier. Jakub and
Paolo what do you prefer?

-- 
Juanlu Herrero

      reply	other threads:[~2026-12-03 17:29 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20261110213736eucas1p1eab83ca5602049b731a5e4937b7d8c4f@eucas1p1.samsung.com>
2026-11-10 21:36 ` [PATCH 0/3] dma-debug: skip irrelevant buckets for partial syncs Juanlu Herrero
2026-11-10 21:36   ` [PATCH 1/3] selftests: net: make iou-zcrx area size configurable Juanlu Herrero
2026-11-10 21:36   ` [PATCH 2/3] dma-debug: skip irrelevant buckets for partial syncs Juanlu Herrero
2026-12-03 17:38     ` Robin Murphy
2026-11-10 21:36   ` [PATCH 3/3] dma-debug: add bucket bound lifetime coverage Juanlu Herrero
2026-12-03 12:17   ` [PATCH 0/3] dma-debug: skip irrelevant buckets for partial syncs Marek Szyprowski
2026-12-03 17:29     ` Juanlu Herrero [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=axGmK54eeH7A436k@devvm8761.dkl0.facebook.com \
    --to=juanlu@fastmail.com \
    --cc=andrew+netdev@lunn.ch \
    --cc=davem@davemloft.net \
    --cc=edumazet@kernel.org \
    --cc=iommu@lists.linux.dev \
    --cc=kuba@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=m.szyprowski@samsung.com \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=robin.murphy@arm.com \
    --cc=shuah@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox