[PATCH] embedding 2.6 or more findings on kernel size

From: Dmitry Golubev (dmitry_at_mikrotik.com)
Date: 08/31/04

  • Next message: Tim Schmielau: "Re: [PATCH] new CSA patchset for 2.6.8"
    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/



  • Next message: Tim Schmielau: "Re: [PATCH] new CSA patchset for 2.6.8"

    Relevant Pages

    • kernel BUG at fs/xfs/support/debug.c:106!
      ... RAM, MB Intel SCB2, Adaptec 7899 Controller onboard having one 18 GB SCSI ... kernel BUG at fs/xfs/support/debug.c:106! ... Trace; c01c706f ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: OT] Joerg Schilling flames Linux on his Blog
      ... >> instead of expecting everyone in the world follow the Solaris model, ... > or the basic SCSI address routines. ... The kernel using the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: OpenGL in the kernel
      ... > I heard a few about future OpenGL implementation in the Linux kernel, ... > With best regards, Dmitry M. Shatrov ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: External kernel modules, second try
      ... has the biggest offender (scsi) fixed. ... > that make use of kernel C files. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: 2.6.4: disabling SCSI support not possible
      ... >usb-storage should depend on SCSI rather than forcing SCSI to be ... Actually, it should "require" SCSI, but the kernel configuration logic ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)