From owner-cvs-all@FreeBSD.ORG Fri Apr 18 09:31:16 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 990C937B401; Fri, 18 Apr 2003 09:31:16 -0700 (PDT) Received: from sccrmhc02.attbi.com (sccrmhc02.attbi.com [204.127.202.62]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7FF2343FE0; Fri, 18 Apr 2003 09:31:15 -0700 (PDT) (envelope-from julian@elischer.org) Received: from interjet.elischer.org (12-232-168-4.client.attbi.com[12.232.168.4]) by sccrmhc02.attbi.com (sccrmhc02) with ESMTP id <2003041816311400200263e5e>; Fri, 18 Apr 2003 16:31:14 +0000 Received: from localhost (localhost.elischer.org [127.0.0.1]) by InterJet.elischer.org (8.9.1a/8.9.1) with ESMTP id JAA62602; Fri, 18 Apr 2003 09:31:12 -0700 (PDT) Date: Fri, 18 Apr 2003 09:31:10 -0700 (PDT) From: Julian Elischer To: John Baldwin In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: Jeff Roberson cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: RE: 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 16:31:17 -0000 On Fri, 18 Apr 2003, John Baldwin wrote: > > On 18-Apr-2003 Jeff Roberson wrote: > > 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. > > It would be easy to add a 'show kseq ' function to DDB if > you wanted to. if you add a sched_xxx_ddb entrypoint you could print scheduler dependent info. > > -- > > John Baldwin <>< http://www.FreeBSD.org/~jhb/ > "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ >