From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f41.google.com (mail-wr1-f41.google.com [209.85.221.41]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 354A029CEB for ; Thu, 13 Nov 2025 20:03:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.221.41 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763064214; cv=none; b=TWxCBcIs3auaLas9fM156fAi3m4vxTgeFPvjX2kY+9+Qb3JCcdhNZJ4gnnC36RUpJ3PqBcMKaUOmcO95Xf+p8sGvU1EYhPb/qCHOuRxLGcxfl3VmHoy0Ep/fked9b/FpZcoimj+bped9HLmCl4GbXjOaI/rrY/B1rPhRMJ1hgPM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1763064214; c=relaxed/simple; bh=czxOFEk2EoFH7TxmVeqYp0bb1SQy5T9pfO5E1MZiwpM=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=opoCPFdD+cw0N85WaeTGZUB+6/x+b4FuEcmRKEh2qqYpmzb4nOhxzcQzXsC8p6l7Ok4xxJk3JTVVpqX8HIONZ+8swjOD5FXug5LrbYese9PoQr3otMNtWF0em/C2Wy+fziJYA4DgQgIZL+/tqY7q0vyZs0ZJnFXx31lhMDnB2/c= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=D1XdgUdp; arc=none smtp.client-ip=209.85.221.41 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="D1XdgUdp" Received: by mail-wr1-f41.google.com with SMTP id ffacd0b85a97d-42b3d4d9ca6so1110272f8f.2 for ; Thu, 13 Nov 2025 12:03:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1763064211; x=1763669011; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=ye0E4RBw+o1LJoKzt94uHbmdN/ak/lXrx9F0LU4xd90=; b=D1XdgUdpla8pyi3MgBNo7059dB5u1vOQJJDM+vDgOb9eKR4JTcDP6ZiOsE03/RjxTJ Dy4u0Wx+xYDNTLx12reOae2yHRhxwgmTmRLYRqxI3aRRxjwVJoEPkvFPYelmBbEk+mGz TEqEiM2MZ4LuCm3XRl2tr5OZ7wlXz4iBeE6GA9BG2dbcwPxNbSNwbJeW+B1fWlrgJVqA YEesVlzgh06OlrC/j02RSONVeYdMPloqpuFMQX03djcIGLcQQ4xKR6UQWd40LornRLIv MkQyw3WLHlkNoFxJx368nBRRqh6GGxGINc2HBEFDSQy2FWDZbbttpfvdBkcQeHNnEB6k w3Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1763064211; x=1763669011; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=ye0E4RBw+o1LJoKzt94uHbmdN/ak/lXrx9F0LU4xd90=; b=MUs7pYX0tQSGTq5ZIGvghxEkrkVx4ZnADFeF3Cz700fhj2Pj6rUmx5rQZ5kiNUn2nd CNKJN0Px5K07z4Q9BlfPqpv602ac3Y4k0kzIOCs1Mb2tCGtaiImnXAsPnQyKN0aA0scn OX24pLv2bG0D4WONVt5/uX+yP89aEbvfXvx6nI5TN9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ffacd0b85a97d-42b59399a79mr566112f8f.62.1763064211437; Thu, 13 Nov 2025 12:03:31 -0800 (PST) Received: from pumpkin (82-69-66-36.dsl.in-addr.zen.co.uk. [82.69.66.36]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-42b53e7b14bsm5484906f8f.9.2025.11.13.12.03.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Nov 2025 12:03:30 -0800 (PST) Date: Thu, 13 Nov 2025 20:03:29 +0000 From: David Laight To: Eric Dumazet Cc: Dave Hansen , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Dave Hansen , x86@kernel.org, "H . Peter Anvin" , "David S . Miller" , Jakub Kicinski , Paolo Abeni , linux-kernel , Simon Horman , Kuniyuki Iwashima , netdev@vger.kernel.org, Eric Dumazet Subject: Re: [PATCH] x86_64: inline csum_ipv6_magic() Message-ID: <20251113200329.37529418@pumpkin> In-Reply-To: References: <20251113154545.594580-1-edumazet@google.com> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; arm-unknown-linux-gnueabihf) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Thu, 13 Nov 2025 10:18:08 -0800 Eric Dumazet wrote: > On Thu, Nov 13, 2025 at 8:26=E2=80=AFAM Dave Hansen wrote: > > > > On 11/13/25 07:45, Eric Dumazet wrote: =20 > > > Inline this small helper. > > > > > > This reduces register pressure, as saddr and daddr are often > > > back to back in memory. > > > > > > For instance code inlined in tcp6_gro_receive() will look like: =20 > > > > Could you please double check what the code growth is for this across > > the tree? There are 80-ish users of csum_ipv6_magic(). =20 >=20 > Hi Dave >=20 > Sure (allyesconfig build) Does't allyesconfig pull in all the KASAN stuff as well. Which makes it fairly useless for normal build tests. David