public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
From: Martin Schitter <ms+git@mur.at>
To: Stefano Brivio <sbrivio@redhat.com>
Cc: Jon Maloy <jmaloy@redhat.com>, passt-dev@passt.top
Subject: Re: [PATCH v2] netlink: Copy all routes in nl_route_dup(), not just the first batch
Date: Fri, 27 Nov 2026 17:26:12 +0100	[thread overview]
Message-ID: <bc56ce73-3f1b-4f5d-86dd-63350479bb6d@mur.at> (raw)
In-Reply-To: <20261127162602.30ca85b8@elisabeth>



On 11/27/26 16:26, Stefano Brivio wrote:
> Martin, this new version looks good to me and also fixes the issue I
> hit on my setup, so I would go ahead and merge it.

Yes -- it looks like a very nice solution.

> If you plan to give it a try as well, though, I'd wait for you to
> confirm before merging.  Let me know.

I can't test it sufficiently right now, but the explanations and changes 
by jmaloy look convincing and perfectly acceptable to me.

> By the way, even on my setup with two routes, it cuts pasta's starting
> time by about 10 ms (79 ms instead of 87 ms, average of 10k runs).
> That's quite impressive!

To be honest, it wasn't all that hard to keep up with that extremely 
inefficient original implementation.

Thanks for all your efforts in cleaning up and constructive revisiting!

Martin


  reply	other threads:[~2026-11-27 16:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-07 11:46 [PATCH] netlink: Fix nl_route_dup by 3-step processing Martin Schitter
2026-11-11  1:47 ` Stefano Brivio
2026-11-27 14:31 ` [PATCH v2] netlink: Copy all routes in nl_route_dup(), not just the first batch Jon Maloy
2026-11-27 15:26   ` Stefano Brivio
2026-11-27 16:26     ` Martin Schitter [this message]
2026-11-27 16:05   ` Martin Schitter
2026-11-26 21:52 Jon Maloy
2026-11-26 23:57 ` Stefano Brivio

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=bc56ce73-3f1b-4f5d-86dd-63350479bb6d@mur.at \
    --to=ms+git@mur.at \
    --cc=jmaloy@redhat.com \
    --cc=passt-dev@passt.top \
    --cc=sbrivio@redhat.com \
    /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.
Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).