From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 22:28:59 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A46AA37B401 for ; Thu, 17 Apr 2003 22:28:59 -0700 (PDT) Received: from mail.chesapeake.net (chesapeake.net [205.130.220.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id EE94E43F85 for ; Thu, 17 Apr 2003 22:28:58 -0700 (PDT) (envelope-from jroberson@chesapeake.net) Received: from localhost (jroberson@localhost) by mail.chesapeake.net (8.11.6/8.11.6) with ESMTP id h3I5SwJ28707 for ; Fri, 18 Apr 2003 01:28:58 -0400 (EDT) (envelope-from jroberson@chesapeake.net) Date: Fri, 18 Apr 2003 01:28:58 -0400 (EDT) From: Jeff Roberson To: current@freebsd.org Message-ID: <20030418012810.U76635-100000@mail.chesapeake.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: cvs commit: src/sys/kern sched_ule.c (fwd) X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2003 05:28:59 -0000 ULE works with SMP again. Sorry about that folks. Please let me know of any behavior issues. If you have a workload where ULE performs worse than 4BSD I'd love to hear about it. ---------- Forwarded message ---------- Date: Thu, 17 Apr 2003 22:24:10 -0700 (PDT) From: Jeff Roberson To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern sched_ule.c 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