From: Joe Millenbach <jmillenbach@gmail.com>
To: linux-kernel@vger.kernel.org
Cc: team-fjord@googlegroups.com, Joe Millenbach <jmillenbach@gmail.com>
Subject: [PATCH 0/7] x86/boot: Shrink the decompression stub: conditionally exclude cmdline processing
Date: Sat, 21 Jul 2012 03:41:44 -0700 [thread overview]
Message-ID: <1342867304-30777-1-git-send-email-jmillenbach@gmail.com> (raw)
This is a patch set that progressively allows more of the decompression command
line processing code to be removed if it can't be used. This can shrink the
compressed kernel image by over 2k. The quiet and debug flags been switched to
use the pre-existing CONFIG_X86_VERBOSE_BOOT compile flag instead. And when
not compiled with earlyprintk debugging, the command-line processing code now
has nothing to configure, so exclude it entirely.
Gokul Caushik (1):
x86/boot: Exclude cmdline.c if you can't use it
Joe Millenbach (6):
x86/boot: Removed quiet flag and switched quiet output to debug flag
x86/boot: Wrap debug printing in a new debug_putstr function
x86/boot: Changed error putstr path to match new debug_putstr format
x86/boot: Switch output functions from command-line flags to
conditional compilation
x86/boot: Removed unused debug flag and set code
x86/boot: Exclude early_serial_console.c if can't use it.
arch/x86/boot/compressed/cmdline.c | 4 +++
arch/x86/boot/compressed/early_serial_console.c | 4 +++
arch/x86/boot/compressed/misc.c | 31 ++++++-----------------
arch/x86/boot/compressed/misc.h | 27 +++++++++++++++++---
4 files changed, 40 insertions(+), 26 deletions(-)
--
1.7.9.5
reply other threads:[~2012-07-21 10:41 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=1342867304-30777-1-git-send-email-jmillenbach@gmail.com \
--to=jmillenbach@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=team-fjord@googlegroups.com \
/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 NNTP newsgroup(s).