Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2007 05:07:07 +0000 (UTC)
From:      Jeff Roberson <jeff@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/vm vm_glue.c
Message-ID:  <200709210507.l8L577ps057323@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2007-09-21 05:07:07 UTC

  FreeBSD src repository

  Modified files:
    sys/vm               vm_glue.c 
  Log:
   - Redefine p_swtime and td_slptime as p_swtick and td_slptick.  This
     changes the units from seconds to the value of 'ticks' when swapped
     in/out.  ULE does not have a periodic timer that scans all threads in
     the system and as such maintaining a per-second counter is difficult.
   - Change computations requiring the unit in seconds to subtract ticks
     and divide by hz.  This does make the wraparound condition hz times
     more frequent but this is still in the range of several months to
     years and the adverse effects are minimal.
  
  Approved by:    re
  
  Revision  Changes    Path
  1.225     +14 -9     src/sys/vm/vm_glue.c



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