Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 May 2014 17:00:08 -0600
From:      Alan Somers <asomers@freebsd.org>
To:        Dmitry Morozovsky <marck@rinet.ru>
Cc:        "src-committers@freebsd.org" <src-committers@freebsd.org>, Alan Somers <asomers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, trociny@freebsd.org, Bruce Evans <brde@optusnet.com.au>, "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r265472 - head/bin/dd
Message-ID:  <CAOtMX2g5BOjk3vp_sF1M00HFYzXQJ7eUxk3kHj_2U_j--OAsMw@mail.gmail.com>
In-Reply-To: <alpine.BSF.2.00.1405090250540.85974@woozle.rinet.ru>
References:  <201405062206.s46M6dxW060155@svn.freebsd.org> <20140507113345.B923@besplex.bde.org> <CAOtMX2h_%2B1G18Nv5JvDE0H7_TZ96p81JotOwhq1Jm-dOOeahPw@mail.gmail.com> <alpine.BSF.2.00.1405090250540.85974@woozle.rinet.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 8, 2014 at 4:55 PM, Dmitry Morozovsky <marck@rinet.ru> wrote:
> On Wed, 7 May 2014, Alan Somers wrote:
>
> [snip]
>
>> Even if nanosecond resolution isn't useful, monotonicity is.  Nobody
>> should be using a nonmonotonic clock just to measure durations.  I
>> started an audit of all of FreeBSD to look for other programs that use
>> gettimeofday to measure durations.  I haven't finished, but I've
>> already found a lot, including xz, ping, hastd, fetch, systat, powerd,
>> and others.  I don't have time to fix them, though.  Would you be
>> interested, or do you know anyone else who would?
>
> From your list, hastd seems to be the most dangerous point to me.
>
> Adding trociny@ as one of the most active hastd-related committers so the issue
> would not be lost in the areas...

In hastd's case, the problematic comparison is only used to print
debugging info.  It happens twice, in primary.c lines 1978 and 2039.

>
> --
> Sincerely,
> D.Marck                                     [DM5020, MCK-RIPE, DM3-RIPN]
> [ FreeBSD committer:                                 marck@FreeBSD.org ]
> ------------------------------------------------------------------------
> *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru ***
> ------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOtMX2g5BOjk3vp_sF1M00HFYzXQJ7eUxk3kHj_2U_j--OAsMw>