cvs commit: src/sys/kern sched_ule.c

Jeff Roberson jeff at FreeBSD.org
Thu Jul 19 19:51:46 UTC 2007


jeff        2007-07-19 19:51:45 UTC

  FreeBSD src repository

  Modified files:
    sys/kern             sched_ule.c 
  Log:
   - When newtd is specified to sched_switch() it was not being initialized
     properly.  We have to temporarily unlock the TDQ lock so we can lock
     the thread and add it to the run queue.  This is used only for KSE.
   - When we add a thread from the tdq_move() via sched_balance() we need to
     ipi the target if it's sitting in the idle thread or it'll never run.
  
  Reported by:    Rene Landan
  Approved by:    re
  
  Revision  Changes    Path
  1.201     +25 -7     src/sys/kern/sched_ule.c


More information about the cvs-src mailing list