On Tue, May 06, 2008 at 02:21:31AM +0200, Andi Kleen wrote:It's a common case that a function has only one caller. It should always be an (at least tiny) space win to get them inlined. I'm not attaching size change information to these patches since whatever change one sees anyway also depends on other factors like the exact kernel configuration, so it's non-trivial to get numbers that could be taken seriously. There are many small aspects, e.g. both gcc with -Wmissing-prototypes and sparse give warnings, and the problem might either be needlessly global code or the fact that a function prototype is either not in a header or the header not #include'd by the file. Although I've only 2 or 3 times catched such bugs in the kernel that is a nasty to debug class of bugs and gcc can find such problems at compile time. The best case I've actually seen in practice was a variable I made static, and with CONFIG_DEBUG_FOOBAR=n gcc was now able to prove that the value never changed resulting in the variable plus quite a chunk of code no longer emitted. cu Adrian -- "Is there not promise of rain?" Ling Tan asked suddenly out of the darkness. There had been need of rain for many days. "Only a promise," Lao Er said. Pearl S. Buck - Dragon Seed --
| Chris Wright | Re: [stable] to something appropriate (was Re: 2.6.22 -mm merge plans) |
| Linus Torvalds | Linux 2.6.27-rc5 |
| Greg Kroah-Hartman | [PATCH 002/196] Chinese: rephrase English introduction in HOWTO |
| Tomasz Kłoczko | Is it time for remove (crap) ALSA from kernel tree ? |
git: | |
| Shawn O. Pearce | Re: [RFC] Git config file reader in Perl (WIP) |
| Martin Langhoff | Re: pack operation is thrashing my server |
| Linus Torvalds | People unaware of the importance of "git gc"? |
| Linus Torvalds | Re: git on MacOSX and files with decomposed utf-8 file names |
| Richard Stallman | Real men don't attack straw men |
| Alexey Suslikov | OT: OpenBSD on Asus eeePC |
| GVG GVG | ssh_exchange_identification: Connection closed by remote host |
| David B. | find -exec {} help |
| Mark Lord | Re: 2.6.25-rc8: FTP transfer errors |
| David Miller | [GIT]: Networking |
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
