Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Sep 2005 19:07:53 +0200
From:      Andre Oppermann <andre@freebsd.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/sys/kern vfs_subr.c
Message-ID:  <4325B5E9.E14D4484@freebsd.org>
References:  <200509121531.j8CFVSxj055317@repoman.freebsd.org> <200509121240.51775.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Jung-uk Kim wrote:
> 
> On Monday 12 September 2005 11:31 am, Jung-uk Kim wrote:
> > jkim        2005-09-12 15:31:28 UTC
> >
> >   FreeBSD src repository
> >
> >   Modified files:
> >     sys/kern             vfs_subr.c
> >   Log:
> >   use monotonic `time_uptime' instead of `time_second'
> >
> >   Approved by:    anholt (mentor)
> >   Discussed on:   arch
> >
> >   Revision  Changes    Path
> >   1.645     +4 -4      src/sys/kern/vfs_subr.c
> 
> Please make sure to use `time_uptime' if you need monotonic timestamp.
> Especially many network stacks seem to make sequence IDs and
> timestamps to expire from `time_second' instead of time_uptime.
> time_second is not guaranteed to be monotonic!  time_uptime is.
> 
> http://docs.freebsd.org/cgi/mid.cgi?8153.1126340565
> http://docs.freebsd.org/cgi/mid.cgi?20050909214808.GA6021
> 
> I was almost tempted to do `sed -i -e 's/time_second/time_uptime'
> net*' (with few exceptions) but I wasn't sure how many standards
> really demand time_second in their actual packets/cells. :-(

I'm working my way through netinet/*.

-- 
Andre



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