From owner-cvs-all@FreeBSD.ORG Mon Sep 12 17:07:39 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1275E16A421 for ; Mon, 12 Sep 2005 17:07:39 +0000 (GMT) (envelope-from andre@freebsd.org) Received: from c00l3r.networx.ch (c00l3r.networx.ch [62.48.2.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id F369243D5D for ; Mon, 12 Sep 2005 17:07:36 +0000 (GMT) (envelope-from andre@freebsd.org) Received: (qmail 28315 invoked from network); 12 Sep 2005 16:43:11 -0000 Received: from unknown (HELO freebsd.org) ([62.48.0.53]) (envelope-sender ) by c00l3r.networx.ch (qmail-ldap-1.03) with SMTP for ; 12 Sep 2005 16:43:11 -0000 Message-ID: <4325B5E9.E14D4484@freebsd.org> Date: Mon, 12 Sep 2005 19:07:53 +0200 From: Andre Oppermann X-Mailer: Mozilla 4.8 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Jung-uk Kim References: <200509121531.j8CFVSxj055317@repoman.freebsd.org> <200509121240.51775.jkim@FreeBSD.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_subr.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Sep 2005 17:07:39 -0000 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