Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2007 19:51:45 +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:  <200707191951.l6JJpjs6036952@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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