Optimizations.
Poul-Henning Kamp
phk at phk.freebsd.dk
Sat May 17 10:14:48 PDT 2003
In message <20030516184626.GB537 at athlon.pn.xcllnt.net>, Marcel Moolenaar writes
:
>On Fri, May 16, 2003 at 09:59:52AM +0200, Poul-Henning Kamp wrote:
>>
>> >That's right:)
>> >Look at functions in /sys/kern/kern_tc.c. There are so many little
>> >functions. How about put __inline here and there?
>>
>> Try it, and you'll find that things get slower because the code
>> gets bigger.
>
>Observed on what architecture?
i386, but it takes a _lot_ to get a stddev on your measurements
which allow you to measure this in real-world applications.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
More information about the freebsd-hackers
mailing list