svn commit: r184385 - head/sys/kern
John Baldwin
jhb at freebsd.org
Tue Oct 28 08:30:51 PDT 2008
On Monday 27 October 2008 11:26:25 pm Peter Wemm wrote:
> Author: peter
> Date: Tue Oct 28 03:26:25 2008
> New Revision: 184385
> URL: http://svn.freebsd.org/changeset/base/184385
>
> Log:
> After a machine has been up for a bit more than 20 days with HZ=1000,
> "ticks" goes negative. This breaks the signed comparison in softclock.
> This causes sleep() to never wake up, tcp to stop, etc etc. This is
> bad(TM). Use the SEQ_LT() method from tcp's sequence number comparisons.
>
> Modified:
> head/sys/kern/kern_timeout.c
I wonder why this used < rather than the != that older branches used.
--
John Baldwin
More information about the svn-src-all
mailing list