Subject: CVS commit: src/sys/kern
To: None <source-changes@NetBSD.org>
From: Frank Kardel <kardel@netbsd.org>
List: source-changes
Date: 09/24/2006 06:39:28
Module Name:	src
Committed By:	kardel
Date:		Sun Sep 24 06:39:28 UTC 2006

Modified Files:
	src/sys/kern: kern_tc.c

Log Message:
Reduce hardclock() code path length wrt/ multiply/divide by
re-calculating the th_scale value only when necessary.
As discussed with gdamore@. Tested at (sub-)usec level with
stratum 1 reference.


To generate a diff of this commit:
cvs rdiff -r1.12 -r1.13 src/sys/kern/kern_tc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.