From: Sergey Vlasov <vsu@altlinux.ru>
To: Andi Kleen <ak@suse.de>
Cc: Arjan van de Ven <arjan@infradead.org>,
discuss@x86-64.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] x86_64: Do not use -ffunction-sections for modules
Date: Wed, 21 Jun 2006 20:51:26 +0400 [thread overview]
Message-ID: <20060621165126.GB4126@master.mivlgu.local> (raw)
In-Reply-To: <200606211841.33220.ak@suse.de>
[-- Attachment #1: Type: text/plain, Size: 1905 bytes --]
On Wed, Jun 21, 2006 at 06:41:33PM +0200, Andi Kleen wrote:
> The correct mailing list is still discuss@x86-64.org
Noted.
> 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?
Yes, and all these sections are then reported in sysfs (BTW, what programs
really use /sys/module/*/sections/* files?).
> .text/.data size shouldn't > change in theory.
Actually, it does change by a small amount for some reason - even
increases by about 100 bytes in some cases; however, I suppose that the
size reported by /proc/modules and lsmod is more important, and it
decreases:
before:
ext3 138896 4
jbd 58152 1 ext3
mbcache 10248 1 ext3
sata_nv 11140 13
libata 75928 1 sata_nv
sd_mod 21912 6
scsi_mod 155824 3 usb_storage,libata,sd_mod
ide_disk 17536 0
ide_generic 1664 0 [permanent]
amd74xx 15280 0 [permanent]
generic 5892 0 [permanent]
ide_core 150624 6 ide_cd,usb_storage,ide_disk,ide_generic,amd74xx,generic
after:
ext3 129040 4
jbd 53672 1 ext3
mbcache 9608 1 ext3
sata_nv 10756 13
libata 69784 1 sata_nv
sd_mod 20760 6
scsi_mod 145200 3 usb_storage,libata,sd_mod
ide_disk 16384 0
ide_generic 1664 0 [permanent]
amd74xx 14896 0 [permanent]
generic 5764 0 [permanent]
ide_core 140768 6 ide_cd,usb_storage,ide_disk,ide_generic,amd74xx,generic
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2006-06-21 16:51 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
2006-06-21 16:51 ` Sergey Vlasov [this message]
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=20060621165126.GB4126@master.mivlgu.local \
--to=vsu@altlinux.ru \
--cc=ak@suse.de \
--cc=arjan@infradead.org \
--cc=discuss@x86-64.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
all inboxes | Powered by JetHome®