From: ebiederman@lnxi.com (Eric W. Biederman)
To: <linux-kernel@vger.kernel.org>
Subject: Results of playing with linux-lite....
Date: 29 Jun 2001 18:09:03 -0600 [thread overview]
Message-ID: <m3u20yrfq8.fsf@DLT.linuxnetworx.com> (raw)
I keep playing with different ideas on how to do the the minimal
bootloader seen, and wishing I had a full OS behind me todo it.
So today I played with linux-lite. A slightly modified linux-1.0.9.
It looks like you can get a pretty useable kernel out of it in about
128K, after compression.
I have built up 2 patches
.eb1 This allows the code to compile with gcc-2.95.2 (hopefully the code works).
.eb2 This patch enables compiling out large sections of the kernel
like the VFS layer, so I can experiment and see where the kernel
bloat is. I don't understand why the linux kernel when you disable
everything is much larger than linuxBIOS.
The code is available at:
ftp://download.linuxnetworx.com/pub/src/linux-kernel-patches/
Even when I compile out the VFS layer, and the network stack, swap
support, and mmap, all character and block devices. Uncompressed
the linux kernel is still about 100KB. It feels like there is a
significant source of bloat there. My hope is to build a very modular
kernel without nearly zero bloat and then port the infrastructure up
to the latest kernels. Linux 1.0 is very much linux in structure, so
if nothing else it should be able to serve as a good comparision
point.
Anyway. A kernel with nothing in it that compresses to 47KB is kind
of fun :)
Eric
reply other threads:[~2001-06-30 0:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=m3u20yrfq8.fsf@DLT.linuxnetworx.com \
--to=ebiederman@lnxi.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox