Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2007 08:50:38 +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/kern sched_ule.c
Message-ID:  <200701050850.l058ockV086433@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
jeff        2007-01-05 08:50:38 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_ule.c 
  Log:
   - ftick was initialized to -1 for init and any of it's children.  Fix this by
     setting ftick = ltick = ticks in schedinit().
   - Update the priority when we are pulled off of the run queue and when we
     are inserted onto the run queue so that it more accurately reflects our
     present status.  This is important for efficient priority propagation
     functioning.
   - Move the frequency test into sched_pctcpu_update() so we don't repeat it
     each time we'd like to call it.
   - Put some temporary work-around code in sched_priority() in case the tick
     mechanism produces a bad priority.  Eventually this should revert to an
     assert again.
  
  Revision  Changes    Path
  1.174     +35 -9     src/sys/kern/sched_ule.c



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