From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8a785de2a5f994ba09fe1224cbf21338@quanstro.net> From: erik quanstrom Date: Mon, 10 Apr 2006 18:51:19 -0500 To: 9fans@cse.psu.edu Subject: Re: [9fans] Good enough approximation for ape/pcc MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Topicbox-Message-UUID: 346df1a6-ead1-11e9-9d60-3106f5b1d025 On Mon Apr 10 09:18:01 CDT 2006, rminnich@lanl.gov wrote: > Brantley Coile wrote: > It's humorous to see the inline madness, on machines with 512KB caches yet: > [rminnich@q linux-2.6.16]$ grep -r -i 'static inline' . |wc > 21262 142677 1810997 > > yep, 21262 instances of 'static inline'. Even better: > > [rminnich@q linux-2.6.16]$ grep -r -i 'static inline' include/ | wc > 8249 54789 689506 > > so, like, 13K of them are NOT in .h. Which is worse, the fact that the > code is replicated all over the place, via .h, or there are .c files > with static inline in them? yikes. the instructive thing about linux is that it doesn't use the c library. this is because glibc is too big to put in the kernel (and too much of a moving target). linux/gnu is suffering from a complication feedback loop. - erik