Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 6 Aug 2004 02:44:58 +0000 (UTC)
From:      Colin Percival <cperciva@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern kern_timeout.c
Message-ID:  <200408060244.i762iwrf094374@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
cperciva    2004-08-06 02:44:58 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             kern_timeout.c 
  Log:
  When reseting a pending callout, perform the deregistration in
  callout_reset rather than calling callout_stop.  This results in a few
  lines of code duplication, but it provides a significant performance
  improvement because it avoids recursing on callout_lock.
  
  Requested by:   rwatson
  
  Revision  Changes    Path
  1.90      +16 -2     src/sys/kern/kern_timeout.c



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