cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jeff at FreeBSD.org
Thu Aug 12 00:56:33 PDT 2004


jeff        2004-08-12 07:56:33 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_ule.c 
  Log:
   - Introduce a new flag KEF_HOLD that prevents sched_add() from doing a
     migration.  Use this in sched_prio() and sched_switch() to stop us from
     migrating threads that are in short term sleeps or are runnable.  These
     extra migrations were added in the patches to support KSE.
   - Only set NEEDRESCHED if the thread we're adding in sched_add() is a
     lower priority and is being placed on the current queue.
   - Fix some minor whitespace problems.
  
  Revision  Changes    Path
  1.121     +19 -7     src/sys/kern/sched_ule.c


More information about the cvs-src mailing list