Subject: child time accounting [was: CVS commit: src/sys/kern]
To: None <firstname.lastname@example.org>
From: Simon Burge <email@example.com>
Date: 03/15/2003 11:01:36
David Laight wrote:
> 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)
I'm curious about this 5 day case - it's not that hard to bring up that
much cpu time (eg, leave a browser running for two or three weeks)...
Thanks for fixing the more obvious problem!
Simon Burge <firstname.lastname@example.org>
NetBSD Support and Service: http://www.wasabisystems.com/