Subject: Re: CVS commit: src/sys/kern
To: None <dsl@netbsd.org>
From: Simon Burge <simonb@NetBSD.org>
List: source-changes
Date: 02/19/2007 11:40:33
David Laight wrote:
>
> Module Name: src
> Committed By: dsl
> Date: Sun Feb 18 16:03:06 UTC 2007
>
> Modified Files:
>
> src/sys/kern: kern_synch.c
>
> Log Message:
>
> Optimise canonicalisation of l_rtime for the case when the start and stop
> times are in the same second.
The newer code seems harder on the eyes and at least for i386, this
seems to produce larger code:
text data bss dec hex filename
4001 56 4 4061 fdd kern_synch.o.before
4033 56 4 4093 ffd kern_synch.o.after
as it does for PowerPC:
text data bss dec hex filename
4872 56 4 4932 1344 kern_synch.o.before
4884 56 4 4944 1350 kern_synch.o.after
For MIPS(el), the code size doesn't change at all:
text data bss dec hex filename
6132 64 16 6212 1844 kern_synch.o.before
6132 64 16 6212 1844 kern_synch.o.after
although the generated code was a little different...
Simon.