From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: passt.top; dmarc=fail (p=none dis=none) header.from=mur.at Received: from efeu.mur.at (efeu.mur.at [89.106.208.42]) by passt.top (Postfix) with ESMTPS id 350A65A026E for ; Fri, 27 Nov 2026 17:26:13 +0100 (CET) Received: from [192.168.4.117] (lan1.raspi.ma39.ffgraz.net [10.12.1.243]) by efeu.mur.at (Postfix) with ESMTPSA id B6A264726C; Fri, 27 Nov 2026 17:26:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mur.at; s=dkim2; t=1795796772; bh=QXWhegBM62sgFCqpg06bD4xb1UsPtMb9y32xtm7WQR4=; h=Date:From:Subject:To:Cc:References:In-Reply-To:From; b=FCDh2BtWtP9XOk33q4YJ7tkfvRyftxunOIuNv4kQhNYR8KCr66VBiZ0DPMZY4WFsr s1czEjPypEqhZN4jHsTyFX+B3wxiOVzj+vXqfnu8tgLKbSK9voNEPRMFrdl0xI2ZFA 8PDw3Edpiw2OoOVV4h9DnqS+5yc+pTfk/qOeRD56PxtYtAn97OtRtgxfvlnww1niZX MSoiF3TCDJCptj9fC7QhBSOjRpA5fQ/rfkGAFniCIdnXtRB6rcBfBFySm9rnrqw6Od kWFnhQOeTK4BErU7OmiLRx+fA2KbXs30AjcP+6YJxUPx0mBAWUFjfW2VE6nTP/Reo6 3xdpHU75r6iz/6Fg6p0QMQ2Yo7nx8/vTXigvm2bfkucTTbbVV7QzD575Iczfm55niq 7aqAPxPylRktftWgfbycwFJP3IRJY2GwQmHeHfsXRk4yVk6EXS1hrqn55TZpS0f2Sa YLVdiMk4tfT+LBgS5x8D4i27XKIrROCzzSzGLU2ntXXxZeRrVZK Message-ID: Date: Fri, 27 Nov 2026 17:26:12 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird From: Martin Schitter Subject: Re: [PATCH v2] netlink: Copy all routes in nl_route_dup(), not just the first batch To: Stefano Brivio References: <20261107114621.804266-1-ms+git@mur.at> <20261127143104.589149-1-jmaloy@redhat.com> <20261127162602.30ca85b8@elisabeth> Content-Language: de-DE, en-US In-Reply-To: <20261127162602.30ca85b8@elisabeth> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-MailFrom: ms+git@mur.at X-Mailman-Rule-Hits: nonmember-moderation X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation Message-ID-Hash: HY2U5QXYWKHFNVUB52YZO6CFQWQN6IMK X-Message-ID-Hash: HY2U5QXYWKHFNVUB52YZO6CFQWQN6IMK X-Mailman-Approved-At: Fri, 27 Nov 2026 17:28:26 +0100 CC: Jon Maloy , passt-dev@passt.top X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: 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