[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200712161247.53986.vda.linux@googlemail.com>
Date: Sun, 16 Dec 2007 12:47:53 -0800
From: Denys Vlasenko <vda.linux@...glemail.com>
To: Patrick McHardy <kaber@...sh.net>,
Harald Welte <laforge@...monks.org>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] net/ipv4/netfilter/ip_tables.c: remove some inlines
Hi Patrick, Harald,
I was working on unrelated problem and noticed that ip_tables.c
seem to abuse inline. I prepared a patch which removes inlines
except those which are used by packet matching code
(and thus are really performance-critical).
I added comments explaining that remaining inlines are
performance critical.
Result as reported by size:
text data bss dec hex filename
- 6451 380 88 6919 1b07 ip_tables.o
+ 6339 348 72 6759 1a67 ip_tables.o
Please take this patch into netfilter queue.
Signed-off-by: Denys Vlasenko <vda.linux@...glemail.com>
--
vda
View attachment "linux-2.6.ipt.diff" of type "text/x-diff" (6551 bytes)
Powered by blists - more mailing lists