cvs commit: src/sys/kern kern_timeout.c

Colin Percival cperciva at FreeBSD.org
Thu Aug 5 19:44:59 PDT 2004


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


More information about the cvs-src mailing list