All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Golubev <dmitry@mikrotik.com>
To: linux-kernel@vger.kernel.org
Subject: embedding 2.6 or more findings on kernel size
Date: Mon, 30 Aug 2004 23:07:35 +0300	[thread overview]
Message-ID: <200408302307.35052.dmitry@mikrotik.com> (raw)

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

             reply	other threads:[~2004-08-30 20:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-30 20:07 Dmitry Golubev [this message]
2004-08-31 14:10 ` [PATCH] embedding 2.6 or more findings on kernel size Dmitry Golubev
2004-08-31 20:27   ` Adrian Bunk
2004-08-31 23:41     ` Dmitry Golubev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200408302307.35052.dmitry@mikrotik.com \
    --to=dmitry@mikrotik.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.