From: Tejun Heo <tj@kernel.org>
To: Colin King <colin.king@canonical.com>
Cc: linux-ide@vger.kernel.org, kernel-janitors@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] libata: zpodd: make arrays cdb static, reduces object code size
Date: Wed, 6 Sep 2017 07:40:54 -0700 [thread overview]
Message-ID: <20170906144054.GM1774378@devbig577.frc2.facebook.com> (raw)
In-Reply-To: <20170906085629.23938-1-colin.king@canonical.com>
On Wed, Sep 06, 2017 at 09:56:29AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
>
> Don't populate the arrays cdb on the stack, instead make them static.
> Makes the object code smaller by 230 bytes:
>
> Before:
> text data bss dec hex filename
> 3797 240 0 4037 fc5 drivers/ata/libata-zpodd.o
>
> After:
> text data bss dec hex filename
> 3407 400 0 3807 edf drivers/ata/libata-zpodd.o
>
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied to libata/for-4.14.
Thanks.
--
tejun
prev parent reply other threads:[~2017-09-06 14:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-06 8:56 [PATCH] libata: zpodd: make arrays cdb static, reduces object code size Colin King
2017-09-06 14:40 ` Tejun Heo [this message]
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=20170906144054.GM1774378@devbig577.frc2.facebook.com \
--to=tj@kernel.org \
--cc=colin.king@canonical.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-ide@vger.kernel.org \
--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