From owner-cvs-all Fri Oct 11 22:32:26 2002 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 1267C37B401; Fri, 11 Oct 2002 22:32:25 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BB65143E8A; Fri, 11 Oct 2002 22:32:24 -0700 (PDT) (envelope-from jeff@FreeBSD.org) Received: from freefall.freebsd.org (jeff@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id g9C5WOCo048577; Fri, 11 Oct 2002 22:32:24 -0700 (PDT) (envelope-from jeff@freefall.freebsd.org) Received: (from jeff@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id g9C5WO80048576; Fri, 11 Oct 2002 22:32:24 -0700 (PDT) Message-Id: <200210120532.g9C5WO80048576@freefall.freebsd.org> From: Jeff Roberson Date: Fri, 11 Oct 2002 22:32:24 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/conf files src/sys/i386/i386 machdep.c src/sys/kern kern_clock.c kern_exit.c kern_fork.c kern_idle.c kern_mutex.c kern_resource.c kern_subr.c kern_switch.c kern_synch.c sched_4bsd.c subr_trap.c src/sys/posix4 ksched.c ... X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG jeff 2002/10/11 22:32:24 PDT Modified files: sys/conf files sys/i386/i386 machdep.c sys/kern kern_clock.c kern_exit.c kern_fork.c kern_idle.c kern_mutex.c kern_resource.c kern_subr.c kern_switch.c kern_synch.c subr_trap.c sys/posix4 ksched.c sys/sys proc.h sys/vm vm_pageout.c vm_zeroidle.c Added files: sys/kern sched_4bsd.c sys/sys sched.h Log: - Create a new scheduler api that is defined in sys/sched.h - Begin moving scheduler specific functionality into sched_4bsd.c - Replace direct manipulation of scheduler data with hooks provided by the new api. - Remove KSE specific state modifications and single runq assumptions from kern_switch.c Reviewed by: -arch Revision Changes Path 1.717 +1 -0 src/sys/conf/files 1.542 +3 -2 src/sys/i386/i386/machdep.c 1.142 +2 -1 src/sys/kern/kern_clock.c 1.183 +5 -12 src/sys/kern/kern_exit.c 1.170 +7 -6 src/sys/kern/kern_fork.c 1.29 +3 -2 src/sys/kern/kern_idle.c 1.112 +2 -4 src/sys/kern/kern_mutex.c 1.112 +2 -2 src/sys/kern/kern_resource.c 1.62 +2 -1 src/sys/kern/kern_subr.c 1.43 +9 -51 src/sys/kern/kern_switch.c 1.204 +21 -415 src/sys/kern/kern_synch.c 1.1 +635 -0 src/sys/kern/sched_4bsd.c (new) 1.235 +4 -14 src/sys/kern/subr_trap.c 1.20 +2 -1 src/sys/posix4/ksched.c 1.269 +0 -6 src/sys/sys/proc.h 1.1 +65 -0 src/sys/sys/sched.h (new) 1.209 +2 -3 src/sys/vm/vm_pageout.c 1.18 +2 -1 src/sys/vm/vm_zeroidle.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message