Re: Updating callout_reset
From: Mike Silbersack (silby_at_silby.com)
Date: 01/27/04
- Previous message: Guido van Rooij: "Re: HEADSUP: Change of makedev() semantics."
- In reply to: Bruce Evans: "Re: Updating callout_reset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 27 Jan 2004 12:10:36 -0600 (CST) To: Bruce Evans <bde@zeta.org.au>
On Mon, 26 Jan 2004, Bruce Evans wrote:
> Many callers don't worry much about efficiency and do calculations like
> (hz / 10) to get the timeout. This is still more efficient than the
> 64-bit divisions and other complications needed to handle general
> conversions of times to timeouts. (Look at tvtohz(). Note that the
> complications in it have very little to do with struct timeval not
> being a scalar type. They are to handle representation problems.)
>
> Bruce
I've thought more about this, and although I could debate some points,
you've convinced me that changing the interface without changing the
implementation is totally pointless. So, if I ever get around to
implementation changes, then I'll come back and we can rediscuss some
of these issues.
Mike "Silby" Silbersack
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Guido van Rooij: "Re: HEADSUP: Change of makedev() semantics."
- In reply to: Bruce Evans: "Re: Updating callout_reset"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]