[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <491A75E1.8010704@cosmosbay.com>
Date: Wed, 12 Nov 2008 07:21:21 +0100
From: Eric Dumazet <dada1@...mosbay.com>
To: David Miller <davem@...emloft.net>
CC: adobriyan@...il.com, netdev@...r.kernel.org
Subject: [PATCH] net: ib_net pointer should depends on CONFIG_NET_NS
We can shrink size of "struct inet_bind_bucket" by 50%, using read_pnet() and write_pnet()
Signed-off-by: Eric Dumazet <dada1@...mosbay.com>
---
include/net/inet_hashtables.h | 7 +++++++
net/ipv4/inet_connection_sock.c | 4 ++--
net/ipv4/inet_hashtables.c | 6 +++---
3 files changed, 12 insertions(+), 5 deletions(-)
View attachment "ib.patch" of type "text/plain" (2655 bytes)
Powered by blists - more mailing lists