From owner-cvs-all@FreeBSD.ORG Thu Apr 17 22:24:11 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3D94F37B401; Thu, 17 Apr 2003 22:24:11 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id D08EB43F3F; Thu, 17 Apr 2003 22:24:10 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h3I5OA0U026518; Thu, 17 Apr 2003 22:24:10 -0700 (PDT) (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h3I5OAXW026517; Thu, 17 Apr 2003 22:24:10 -0700 (PDT) Message-Id: <200304180524.h3I5OAXW026517@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 17 Apr 2003 22:24:10 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern sched_ule.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 05:24:11 -0000 jeff 2003/04/17 22:24:10 PDT FreeBSD src repository Modified files: sys/kern sched_ule.c Log: - Set the ke_cpu field in sched_add() for interrupt and realtime threads since they are going on the current cpu and not their previously assigned cpu. - sched_runnable() should only return true in the SMP case if the other processor has more than one thread that is runnable. We can not steal curthread. - Change kseq_print() to accept the cpuid instead of a kseq pointer. This makes use of this function in ddb much easier. Revision Changes Path 1.29 +7 -5 src/sys/kern/sched_ule.c