lkml.org 
[lkml]   [1997]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectLittle saving PATCH

OK here it goes...

The following (minimalistic) patch will give You 1.5kByte's on x86 for
free!! (In case the networking code is disabled...)
Please include it into the next official kernel release.

diff -urN linux-2.1.40/net/core/Makefile linux/net/core/Makefile
--- linux-2.1.40/net/core/Makefile Tue Apr 8 11:01:24 1997
+++ linux/net/core/Makefile Tue May 27 11:04:46 1997
@@ -9,8 +9,7 @@

O_TARGET := core.o

-O_OBJS := sock.o skbuff.o iovec.o datagram.o dst.o scm.o \
- neighbour.o
+O_OBJS := sock.o skbuff.o iovec.o datagram.o scm.o

ifeq ($(CONFIG_SYSCTL),y)
O_OBJS += sysctl_net_core.o
@@ -18,7 +17,7 @@

ifdef CONFIG_NET

-O_OBJS += dev.o dev_mcast.o
+O_OBJS += dev.o dev_mcast.o neighbour.o

ifdef CONFIG_FIREWALL
OX_OBJS += firewall.o

End of the story about bloat ;-)

Thank's in advance

Marcin


\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans