From owner-cvs-src@FreeBSD.ORG Thu Jul 19 19:51:46 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1BA3C16A407; Thu, 19 Jul 2007 19:51:46 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id E65EC13C4B8; Thu, 19 Jul 2007 19:51:45 +0000 (UTC) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l6JJpjtQ036953; Thu, 19 Jul 2007 19:51:45 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l6JJpjs6036952; Thu, 19 Jul 2007 19:51:45 GMT (envelope-from jeff) Message-Id: <200707191951.l6JJpjs6036952@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 19 Jul 2007 19:51:45 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jul 2007 19:51:46 -0000 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