[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aL7e5R0ZexuevTcF@krikkit>
Date: Mon, 8 Sep 2025 15:49:25 +0200
From: Sabrina Dubroca <sd@...asysnail.net>
To: Eric Dumazet <edumazet@...gle.com>
Cc: "David S . Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
Simon Horman <horms@...nel.org>, David Ahern <dsahern@...nel.org>,
Jamie Bainbridge <jamie.bainbridge@...il.com>,
Abhishek Rawal <rawal.abhishek92@...il.com>, netdev@...r.kernel.org,
eric.dumazet@...il.com
Subject: Re: [PATCH v2 net-next 1/9] ipv6: snmp: remove icmp6type2name[]
2025-09-05, 16:58:05 +0000, Eric Dumazet wrote:
> This 2KB array can be replaced by a switch() to save space.
>
> Before:
> $ size net/ipv6/proc.o
> text data bss dec hex filename
> 6410 624 0 7034 1b7a net/ipv6/proc.o
>
> After:
> $ size net/ipv6/proc.o
> text data bss dec hex filename
> 5516 592 0 6108 17dc net/ipv6/proc.o
>
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
> ---
> net/ipv6/proc.c | 44 ++++++++++++++++++++++----------------------
> 1 file changed, 22 insertions(+), 22 deletions(-)
Reviewed-by: Sabrina Dubroca <sd@...asysnail.net>
--
Sabrina
Powered by blists - more mailing lists