Subject: Re: POSIX timer_settime() dosn't set timer in some cases (lost accuracy)
To: None <fredb@NetBSD.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 09/01/2004 21:29:36
--Apple-Mail-13--171940045
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed


On Sep 1, 2004, at 7:41 PM, Frederick Bruckman wrote:

> Now, hzto() takes great care to round up, but the nano-second is lost
> before getting there in TIMESPEC_TO_TIMEVAL(). Should TS...TV always
> round up? It seems, with the present state of affairs, that any number
> of timers in the kernel could be firing slightly too early. There's no
> harm, ever, in a timer firing nanoseconds late (or later), is there?

Maybe if you're controlling spark plugs (well, ok, so you're not going 
to pop a hole in your piston if the timing is slightly retarded)... 
but, in any case, we're not, so no, I don't think there's any harm in 
it.

         -- Jason R. Thorpe <thorpej@wasabisystems.com>


--Apple-Mail-13--171940045
content-type: application/pgp-signature; x-mac-type=70674453;
	name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)

iD8DBQFBNqG1OpVKkaBm8XkRAttEAKC80ZhDWAKeltoQ0NoLa+F8W1KlLACePGdJ
r/jc7VkuQVRWqwpyqQ6aDe4=
=ebYj
-----END PGP SIGNATURE-----

--Apple-Mail-13--171940045--