public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* embedding 2.6 or more findings on kernel size
@ 2004-08-30 20:07 Dmitry Golubev
  2004-08-31 14:10 ` [PATCH] " Dmitry Golubev
  0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Golubev @ 2004-08-30 20:07 UTC (permalink / raw)
  To: linux-kernel

Hello,

Compiling the 2.6.8.1 kernel, I found three interesting places (looking very 
quickly, perhaps would find more) when the kernel was compiled with unused 
parts:

1. it compiles everything inside /arch/i386/kernel/cpu/ . From my point of 
view, that is incorrect, especially when choosing processor like Cyrix/VIA C3 
(which is a cyrix, not a transmeta, nexgen or something else) and explicitly 
specifying not to make generic x86 code. Perhaps, choice should be given. 
About 15KB of memory wasted on this...

2. then I found it to compile a synaptics touchpad support - also must be 
optional. Another something like 8KB

3. and the third thing I found is that scsi_ioctl is compiled even if SCSI 
support is taken out... very interesting behaviour... another like 8KB 
wasted... I have no SCSI, no USB MassStorage, no CD-RW, no nothing could 
possibly use SCSI...


Many things could be put on about 100-200KB spared if not migrating to 2.6... 
Perhaps, more controls should be available to configure - new kernels should 
be smaller and faster, not larger, shouldn't they?

Thanks,
Dmitry

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-09-01  0:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-30 20:07 embedding 2.6 or more findings on kernel size Dmitry Golubev
2004-08-31 14:10 ` [PATCH] " Dmitry Golubev
2004-08-31 20:27   ` Adrian Bunk
2004-08-31 23:41     ` Dmitry Golubev

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox