Re: [PATCH] x86_64: inline csum_ipv6_magic()
From: David Laight
Date: Thu Nov 13 2025 - 15:03:33 EST
On Thu, 13 Nov 2025 10:18:08 -0800
Eric Dumazet <edumazet@xxxxxxxxxx> wrote:
> On Thu, Nov 13, 2025 at 8:26 AM Dave Hansen <dave.hansen@xxxxxxxxx> wrote:
> >
> > On 11/13/25 07:45, Eric Dumazet wrote:
> > > 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:
> >
> > Could you please double check what the code growth is for this across
> > the tree? There are 80-ish users of csum_ipv6_magic().
>
> Hi Dave
>
> Sure (allyesconfig build)
Does't allyesconfig pull in all the KASAN stuff as well.
Which makes it fairly useless for normal build tests.
David