[<prev] [next>] [day] [month] [year] [list]
Message-ID: <472F5AB1.8070809@cosmosbay.com>
Date: Mon, 05 Nov 2007 19:02:25 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH 3/4] NET : makes ipv6 use the {DEFINE|REF}_PROTO_INUSE infrastructure
Trivial patch to make "tcpv6,udpv6,udplitev6,rawv6" protocols uses the
fast "inuse sockets" infrastructure
Each protocol use then a static percpu var, instead of a dynamic one.
This saves some ram and some cpu cycles
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
net/ipv6/raw.c | 3 +++
net/ipv6/tcp_ipv6.c | 3 +++
net/ipv6/udp.c | 3 +++
net/ipv6/udplite.c | 3 +++
4 files changed, 12 insertions(+)
View attachment "prot_inuse_ipv6.patch" of type "text/plain" (2280 bytes)
Powered by blists - more mailing lists