public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <ak@suse.de>
To: Sergey Vlasov <vsu@altlinux.ru>
Cc: Arjan van de Ven <arjan@infradead.org>,
	linux-x86_64@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86_64: Do not use -ffunction-sections for modules
Date: Wed, 21 Jun 2006 18:41:33 +0200	[thread overview]
Message-ID: <200606211841.33220.ak@suse.de> (raw)
In-Reply-To: <11509074684035-git-send-email-vsu@altlinux.ru>


The correct mailing list is still discuss@x86-64.org

On Thursday 01 January 1970 01:00, Sergey Vlasov wrote:
> Currently CONFIG_REORDER uses -ffunction-sections for all code;
> however, creating a separate section for each function is not useful
> for modules and just adds bloat. 

You mean the ELF files are larger? .text/.data size shouldn't
change in theory.

> Moving this option from CFLAGS to 
> CFLAGS_KERNEL shrinks module object files (e.g., the module tree for a
> kernel built with most drivers as modules shrinked from 54M to 46M),
> and decreases the number of sysfs files in /sys/module/*/sections/
> directories.

Thanks applied.

-Andi

       reply	other threads:[~2006-06-21 16:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <11509074684035-git-send-email-vsu@altlinux.ru>
2006-06-21 16:41 ` Andi Kleen [this message]
2006-06-21 16:51   ` [PATCH] x86_64: Do not use -ffunction-sections for modules Sergey Vlasov
2006-06-21 16:54     ` Andi Kleen

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=200606211841.33220.ak@suse.de \
    --to=ak@suse.de \
    --cc=arjan@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-x86_64@vger.kernel.org \
    --cc=vsu@altlinux.ru \
    /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