[PATCH] embedding 2.6 or more findings on kernel size
From: Dmitry Golubev (dmitry_at_mikrotik.com)
Date: 08/31/04
- Previous message: Mike Waychison: "Re: silent semantic changes in reiser4 (brief attempt to document the idea of what reiser4 wants to do with metafiles and why"
- In reply to: Dmitry Golubev: "embedding 2.6 or more findings on kernel size"
- Next in thread: Adrian Bunk: "Re: [PATCH] embedding 2.6 or more findings on kernel size"
- Reply: Adrian Bunk: "Re: [PATCH] embedding 2.6 or more findings on kernel size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: linux-kernel@vger.kernel.org Date: Tue, 31 Aug 2004 17:10:01 +0300
Here is the patch for the reported problems. Additional research may follow...
Dmitry
On Monday 30 August 2004 23:07, Dmitry Golubev <dmitry@mikrotik.com> wrote:
> 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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- text/x-diff attachment: diff
- Previous message: Mike Waychison: "Re: silent semantic changes in reiser4 (brief attempt to document the idea of what reiser4 wants to do with metafiles and why"
- In reply to: Dmitry Golubev: "embedding 2.6 or more findings on kernel size"
- Next in thread: Adrian Bunk: "Re: [PATCH] embedding 2.6 or more findings on kernel size"
- Reply: Adrian Bunk: "Re: [PATCH] embedding 2.6 or more findings on kernel size"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|