public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* CONFIG_TINY
@ 2002-10-30 22:36 Rasmus Andersen
  2002-10-30 23:48 ` CONFIG_TINY Rik van Riel
                   ` (2 more replies)
  0 siblings, 3 replies; 52+ messages in thread
From: Rasmus Andersen @ 2002-10-30 22:36 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 2856 bytes --]

Hi,

This details some new patches I have done as part of my
CONFIG_TINY exploration. Executive summary: Nothing earth-
shattering covered. I have made a few new patches and 
brought acme's initstr stuff forward (I hope. Most of 
it anyway.)

Patches:
 o Notes: noswap, noscript, noinline, hashes kernels have 
   been boot tested. 'all' haven't, only so much time for
   fun in a day.

 o config: Patches arch/i386/config.in to allow selection of
   the patches below. Note that the noinline stuff is not
   configurable.
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-config

 o noswap: Disabling swap by stubbing out all of swapfile.c,
   swap_stat.c, page_io.c, highmem.c and some of memory.c. 
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-noswap

 o noscript: Removing binfmt_script from the kernel. I had
   expected my machine to have severe difficulties booting 
   with this one but there was no problems at all... Some 
   think required here (for me, at least).
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-noscript

 o noinline: Same patch as last time (a forward port of
   an old Andrew Morton patch). I tried to do some mindless,
   aggressive uninlining but that expanded my kernel, so I
   need to think a bit more about this (yet again).
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-noinlines

 o nohashes: Minimises the VFS hashes and makes the network
   hashes 1/16 of their former size (down to a single page). 
   These numbers are arbitrarily chosen. Comments welcome.
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-nohashes
          
 o allinone: All of the above rolled up into one.
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-allinone

 o initstr: Marks strings from __init functions as __initdata.
   Only some of the kernel covered so far. Large patch.
   Patch at: www.jaquet.dk/kernel/config_tiny/2.5.44-initstr


Below is a table with a 2.5.44 kernel constrasted with
2.5.44 kernels patched with the named patch (only compile
time ones are listed). Size of vmlinux along with the four 
first columns from 'size vmlinux' are displayed.

The .config is 'allnoconfig'. 

              vmlinux        size fields 
               size    text    data    bss     dec   
base kernel   681405  481005  50913  252512  784430
noswap        667644  469197  50945  250144  770286
noscript      681150  480541  50877  252512  783930   
noinlines     678345  476733  50913  252512  780158
allinone      664329  464445  50909  250144  765498


Note that the reason the all patch doesn't accumulate
the gains from the noswap and the noinlines is that
the noinlines patch touches a lot of stuff that the
noswap patch subsequently disables.

As before, your comments and suggestions will be
appreciated.

Regards,
  Rasmus

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

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

end of thread, other threads:[~2002-11-06 14:30 UTC | newest]

Thread overview: 52+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-30 22:36 CONFIG_TINY Rasmus Andersen
2002-10-30 23:48 ` CONFIG_TINY Rik van Riel
2002-10-31  0:53 ` CONFIG_TINY Adrian Bunk
2002-10-31  1:10   ` CONFIG_TINY Tom Rini
2002-10-31  5:33     ` CONFIG_TINY Mark Mielke
2002-10-31 14:33       ` CONFIG_TINY Tom Rini
2002-10-31 16:51         ` CONFIG_TINY Mark Mielke
2002-10-31 17:04           ` CONFIG_TINY Tom Rini
2002-10-31 17:12             ` CONFIG_TINY Mark Mielke
2002-10-31 17:24               ` CONFIG_TINY Tom Rini
2002-10-31 17:49                 ` CONFIG_TINY Sam Ravnborg
2002-10-31 18:11                   ` CONFIG_TINY Tom Rini
2002-11-01  2:09                 ` CONFIG_TINY Bill Davidsen
2002-11-01 14:12                   ` CONFIG_TINY Tom Rini
2002-10-31 18:26             ` CONFIG_TINY Kent Borg
2002-10-31 18:53               ` CONFIG_TINY Tom Rini
2002-11-04  2:13                 ` CONFIG_TINY Rob Landley
2002-11-04 19:50                   ` CONFIG_TINY Tom Rini
2002-11-04 20:34                     ` CONFIG_TINY Cort Dougan
2002-11-04 16:16                       ` CONFIG_TINY Rob Landley
2002-11-04 22:30                         ` CONFIG_TINY Eli Carter
2002-11-01  2:10             ` CONFIG_TINY Arnaldo Carvalho de Melo
2002-10-31 21:12           ` CONFIG_TINY Luc Van Oostenryck
2002-10-31 17:08         ` CONFIG_TINY Matt Porter
2002-10-31 16:52           ` CONFIG_TINY Bernd Petrovitsch
2002-10-31 18:43             ` CONFIG_TINY Rasmus Andersen
2002-10-31 19:15               ` CONFIG_TINY Tom Rini
2002-10-31 19:27                 ` CONFIG_TINY Rasmus Andersen
2002-11-01 14:19                   ` CONFIG_TINY Tom Rini
2002-10-31 23:30               ` CONFIG_TINY Bernd Petrovitsch
2002-11-01  6:17                 ` CONFIG_TINY Rasmus Andersen
2002-11-01 22:05                   ` CONFIG_TINY Bernd Petrovitsch
2002-11-01 22:10                     ` CONFIG_TINY Rasmus Andersen
2002-11-01  2:03     ` CONFIG_TINY Bill Davidsen
2002-11-01 14:15       ` CONFIG_TINY Tom Rini
2002-11-04  2:13         ` CONFIG_TINY Rob Landley
2002-11-04 19:51           ` CONFIG_TINY Tom Rini
2002-11-04 16:09             ` CONFIG_TINY Rob Landley
2002-11-05 19:26             ` CONFIG_TINY Bill Davidsen
2002-11-05 19:56               ` CONFIG_TINY Tom Rini
2002-11-05 17:55                 ` CONFIG_TINY Rob Landley
2002-11-06  2:05                   ` CONFIG_TINY Tom Rini
2002-11-06 14:35                   ` CONFIG_TINY Bill Davidsen
2002-11-05 19:59               ` CONFIG_TINY Alan Cox
2002-10-31  8:24   ` CONFIG_TINY Rasmus Andersen
2002-10-31 10:05     ` CONFIG_TINY Erik Andersen
2002-10-31 10:08       ` CONFIG_TINY Rasmus Andersen
2002-10-31 11:08         ` CONFIG_TINY Erik Andersen
2002-10-31 19:33     ` CONFIG_TINY Daniel Egger
2002-10-31 19:55       ` CONFIG_TINY Rasmus Andersen
2002-10-31  8:32 ` CONFIG_TINY Jens Axboe
2002-10-31  8:53   ` CONFIG_TINY Rasmus Andersen

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