Subject: Re: CCISS support, anyone?
To: None <>
From: None <>
List: tech-kern
Date: 03/06/2006 16:12:16
On Mon, Mar 06, 2006 at 03:31:11PM +0100, Manuel Bouyer wrote:
> > mstohz is similiar, but not the same thing. One important part of tvtohz
> > is overflow prevention for denormalised inputs. It is used by the CARP
> > code as well, can we add it directly?
> What do you mean with "overflow prevention for denormalised inputs" ?
> mstohz() tries to avoid overflow too (I added this function specifically
> to avoid overflow in scsi timeout functions)

Keep in mind that tvtohz takes a struct timeval as input and has to do a
bit more computation. "denormalised inputs" are timevals where tv_usec
>= 1 sec. They complement each other.