From owner-cvs-all@FreeBSD.ORG Fri Apr 18 10:13:39 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 1D1AC37B401 for ; Fri, 18 Apr 2003 10:13:39 -0700 (PDT) Received: from mail.speakeasy.net (mail13.speakeasy.net [216.254.0.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id C7FEC43FF7 for ; Fri, 18 Apr 2003 10:13:36 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 13624 invoked from network); 18 Apr 2003 17:13:41 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 18 Apr 2003 17:13:41 -0000 Received: from laptop.baldwin.cx (gw1.twc.weather.com [216.133.140.1]) by server.baldwin.cx (8.12.8/8.12.8) with ESMTP id h3IHDXOv078822; Fri, 18 Apr 2003 13:13:33 -0400 (EDT) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.4 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: Date: Fri, 18 Apr 2003 13:13:32 -0400 (EDT) From: John Baldwin To: Julian Elischer 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 17:13:39 -0000 On 18-Apr-2003 Julian Elischer wrote: > > > 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. Maybe as part of 'ps' or something. For things that are entirely scheduler dependent such as displaying the run queues, that can be self-contained within the scheduler. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/