From owner-cvs-all@FreeBSD.ORG Fri Apr 18 07:43:45 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 3E1C637B408 for ; Fri, 18 Apr 2003 07:43:45 -0700 (PDT) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 811F943FE3 for ; Fri, 18 Apr 2003 07:43:42 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: (qmail 5272 invoked from network); 18 Apr 2003 14:43:45 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender )encrypted SMTP for ; 18 Apr 2003 14:43:45 -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 h3IEhdOv078509; Fri, 18 Apr 2003 10:43:40 -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: <200304180524.h3I5OAXW026517@repoman.freebsd.org> Date: Fri, 18 Apr 2003 10:43:41 -0400 (EDT) From: John Baldwin To: Jeff Roberson cc: cvs-src@FreeBSD.org 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 14:43:45 -0000 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. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/