From: Jody Bruchon <jody@jodybruchon.com>
To: ELKS <linux-8086@vger.kernel.org>
Subject: CONFIG_SMALL_KERNEL option added
Date: Sun, 22 Mar 2015 22:21:50 -0400 [thread overview]
Message-ID: <550F78BE.90809@jodybruchon.com> (raw)
I've added a new kernel configuration option that reduces the size of
the kernel without harmfully changing kernel functionality.
CONFIG_SMALL_KERNEL will turn off some unnecessary informational driver
initialization messages and the code that is used to generate them. This
will be expanded as I find more opportunities in the code to apply it.
For now, if you use the current git snapshot with and without this
option selected, the results will be something like this:
text data bss dec
55840 6984 50884 113708 CONFIG_SMALL_KERNEL=n
55152 6720 50884 112756 CONFIG_SMALL_KERNEL=y
-688 -264 0 -952 Change
I also updated the kernel defconfig to match currently available options
and cleaned out some junk kernel config options that were not referenced
anywhere in the actual code.
-Jody
next reply other threads:[~2015-03-23 2:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-03-23 2:21 Jody Bruchon [this message]
2015-03-23 8:16 ` CONFIG_SMALL_KERNEL option added MFLD
[not found] <550FEE31.8070903@jodybruchon.com>
2015-03-23 10:43 ` Jody Bruchon
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=550F78BE.90809@jodybruchon.com \
--to=jody@jodybruchon.com \
--cc=linux-8086@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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).