Subject: CVS commit: src/sys/kern
To: None <source-changes@netbsd.org>
From: David Laight <dsl@netbsd.org>
List: source-changes
Date: 03/14/2003 23:38:27
Module Name:	src
Committed By:	dsl
Date:		Fri Mar 14 21:38:27 UTC 2003

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

Log Message:
cpu times were miscalculated because 'usecs' could go -ve...
There is still a problem that 'st = (u * st) / tot;' can overflow,
but that is harder to fix, and requires cpu times of ~5days.
(approved by christos)


To generate a diff of this commit:
cvs rdiff -r1.69 -r1.70 src/sys/kern/kern_resource.c

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