Ingo Molnar <mingo@elte.hu> writes:I don't think the code changes actually with current gcc for integer code if you change something from global to static (unless it causes gcc to inline the function, but then it might be well larger if you're unlucky) The only file size change you'll see will be from a smaller symbol table in the vmlinux ELF file, but that is not even loaded at run time or included into the bzImage (and the kallsyms table has statics too) So if we follow that "smaller symbol table" is better model should we make a rule that all globals be 8 characters only? Or perhaps 6? @) I'm sure that could be easily enforced by some tool... I could see some advantage from static in future compiler versions though from better optimization, but it's quite remote. I agree with your point that it's not effective to spend human time to generate such patches. -Andi --
| Manu Abraham | PCIE |
| Jared Hulbert | [PATCH 00/10] AXFS: Advanced XIP filesystem |
| Pardo | Re: pthread_create() slow for many threads; also time to revisit 64b context switc... |
| Tomasz Chmielewski | Re: [PATCH] Intel IXP4xx network drivers v.2 - Ethernet and HSS |
git: | |
| Thomas Glanzmann | fatal: serious inflate inconsistency |
| Jeff Garzik | Re: Using GIT to store /etc (Or: How to make GIT store all file permission bits) |
| Andy Parkins | Re: git-fetch and unannotated tags |
| Yossi Leybovich | corrupt object on git-gc |
| Richard Stallman | Real men don't attack straw men |
| Bertram Scharpf | First install: Grub doesn't find partitions |
| Unix Fan | Chatting with developers? Is it soo 1996? |
| Joel Wiramu Pauling | Re: Suggested PF Setup when using BitTorrent? |
| Vegard Nossum | Re: [bug, netconsole, SLUB] BUG skbuff_head_cache: Poison overwritten |
| Jarek Poplawski | Re: NMI lockup, 2.6.26 release |
| Tomas Winkler | [PATCH] iwlwifi: RS small compile warnings without CONFIG_IWLWIFI_DEBUG |
| Simon Horman | Re: [PATCH] sendfile() and UDP socket |
