linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
From: arnd@arndb.de (Arnd Bergmann)
To: linux-arm-kernel@lists.infradead.org
Subject: [RFC] arm: add __initbss section attribute
Date: Mon, 12 Oct 2015 12:21:16 +0200	[thread overview]
Message-ID: <8530796.1MzFUDEUSY@wuerfel> (raw)
In-Reply-To: <1444622356-8263-1-git-send-email-yalin.wang2010@gmail.com>

On Monday 12 October 2015 11:59:16 yalin wang wrote:
> This attribute can make init data to be into .initbss section,
> this will make the data to be NO_BITS in vmlinux, can shrink the
> Image file size, and speed up the boot up time.
> 
> Signed-off-by: yalin wang <yalin.wang2010@gmail.com>

Do you have an estimate of how much it gains?

In multi_v7_defconfig, I see a total of 3367 symbols with
406016 bytes init.data, but only 348 bytes of those are
in zero-initialized symbols.

	Arnd

  parent reply	other threads:[~2015-10-12 10:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-12  3:59 [RFC] arm: add __initbss section attribute yalin wang
2015-10-12  8:22 ` Ard Biesheuvel
2015-10-12  8:46   ` yalin wang
2015-10-12 10:21 ` Arnd Bergmann [this message]
2015-10-12 20:04 ` Sam Ravnborg
     [not found]   ` <FEDC4251-5A6A-4E3C-AE36-8E5B55D9D6CF@gmail.com>
2015-10-13  9:40     ` Arnd Bergmann
2015-10-13  9:51       ` yalin wang
2015-10-13 11:28         ` Arnd Bergmann

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=8530796.1MzFUDEUSY@wuerfel \
    --to=arnd@arndb.de \
    --cc=linux-arm-kernel@lists.infradead.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).