From: Denys Vlasenko <vda.linux@googlemail.com>
To: Hannes Reinecke <hare@suse.de>,
James Bottomley <James.Bottomley@hansenpartnership.com>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org,
Andrew Morton <akpm@linux-foundation.org>
Subject: [PATCH 0/3] aic7xxx: debloat
Date: Tue, 1 Jul 2008 18:48:22 +0200 [thread overview]
Message-ID: <200807011848.22599.vda.linux@googlemail.com> (raw)
Hi Hannes,
aic7xxx still contains ~30kb of dead code if pretty printing of registers
is requested. These patches deal with it.
I did not get any feedback from you whether the approach of adding
"dont_generate_debug_code" marker would be acceptable despite
asking twice. I decided that it's a "Yes".
The patches are compile tested on linux-2.6.26-rc8 and apply cleanly to
current scsi-misc.
Size differences:
text data bss dec hex filename
DEBUG_ENABLE+PRETTY_PRINT:
234697 2362 1188 238247 3a2a7 linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
205092 2362 1188 208642 32f02 linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
NO_DEBUG_ENABLE+PRETTY_PRINT:
227272 2362 1172 230806 38596 linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
197671 2362 1172 201205 311f5 linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
DEBUG_ENABLE+NO_PRETTY_PRINT:
192457 2362 1188 196007 2fda7 linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
192457 2362 1188 196007 2fda7 linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
NO_DEBUG_ENABLE+NO_PRETTY_PRINT:
185040 2362 1172 188574 2e09e linux-2.6.26-rc8-/drivers/scsi/aic7xxx/built-in.o
185040 2362 1172 188574 2e09e linux-2.6.26-rc8/drivers/scsi/aic7xxx/built-in.o
Please apply to scsi-misc.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
--
vda
next reply other threads:[~2008-07-01 14:48 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-01 16:48 Denys Vlasenko [this message]
2008-07-01 16:50 ` [PATCH 1/3] aic7xxx: introduce "dont_generate_debug_code" keyword in aicasm parser Denys Vlasenko
2008-07-01 16:52 ` [PATCH 2/3] aic7xxx: update .reg files Denys Vlasenko
2008-07-01 16:54 ` [PATCH 3/3] aic7xxx: update *_shipped files Denys Vlasenko
2008-07-01 17:02 ` [PATCH 2/3] aic7xxx: update .reg files Denys Vlasenko
2008-07-02 9:17 ` [PATCH 0/3] aic7xxx: debloat Hannes Reinecke
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=200807011848.22599.vda.linux@googlemail.com \
--to=vda.linux@googlemail.com \
--cc=James.Bottomley@hansenpartnership.com \
--cc=akpm@linux-foundation.org \
--cc=hare@suse.de \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@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 NNTP newsgroup(s).