[<prev] [next>] [day] [month] [year] [list]
Message-ID: <472F5A00.6010700@cosmosbay.com>
Date: Mon, 05 Nov 2007 18:59:28 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: "David S. Miller" <davem@...emloft.net>
Cc: netdev@...r.kernel.org
Subject: [PATCH 2/4] NET : makes ipv4 use the {DEFINE|REF}_PROTO_INUSE infrastructure
Trivial patch to make "tcp,udp,udplite,raw" 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/ipv4/raw.c | 3 +++
net/ipv4/tcp_ipv4.c | 3 +++
net/ipv4/udp.c | 3 +++
net/ipv4/udplite.c | 3 +++
4 files changed, 12 insertions(+)
View attachment "prot_inuse_ipv4.patch" of type "text/plain" (2221 bytes)
Powered by blists - more mailing lists