From owner-freebsd-arch Fri Oct 29 6:11:29 1999 Delivered-To: freebsd-arch@freebsd.org Received: from ns1.yes.no (ns1.yes.no [195.204.136.10]) by hub.freebsd.org (Postfix) with ESMTP id E16691558E for ; Fri, 29 Oct 1999 06:11:23 -0700 (PDT) (envelope-from eivind@bitbox.follo.net) Received: from bitbox.follo.net (bitbox.follo.net [195.204.143.218]) by ns1.yes.no (8.9.3/8.9.3) with ESMTP id PAA23324 for ; Fri, 29 Oct 1999 15:11:20 +0200 (CEST) Received: (from eivind@localhost) by bitbox.follo.net (8.8.8/8.8.6) id PAA38643 for freebsd-arch@freebsd.org; Fri, 29 Oct 1999 15:11:19 +0200 (MET DST) Received: from hda.hda.com (hda.bicnet.net [208.220.68.243]) by hub.freebsd.org (Postfix) with ESMTP id 1E0D414FDF for ; Fri, 29 Oct 1999 06:11:07 -0700 (PDT) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id JAA06778 for freebsd-arch@freebsd.org; Fri, 29 Oct 1999 09:06:07 -0400 (EDT) From: Peter Dufault Message-Id: <199910291306.JAA06778@hda.hda.com> Subject: Scheduler fixes To: freebsd-arch@freebsd.org Date: Fri, 29 Oct 1999 09:06:06 -0400 (EDT) X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I put scheduler patches up on Freefall for review. They're in PATCHES.scheduler. Ignore everything in the posix1b directories and just look at the sys/kern and sys/{i386,alpha} changes. This doesn't directly address the recent alpha complaints yet, it is just a revisit to the scheduler to get back up to speed. I've also added "synch.9" to talk about what is in there. In particular look at hoisting userret into machine indepedent. I looked at 4.4Lite and I believe multiple arches can still be supported cleanly while moving a lot of this stuff into mi code, maybe at the cost of some per-arch "methods" passed in. Note that I've changed the kernel priority level on the Alpha of userret to splhigh - everything else is being done in the scheduler code at splhigh and that was pretty much the only difference between alpha and i386 (other than i386 previously being inline). Note - I nuked my new "sys/sys/synch.h" header when creating patches, so I quickly recreated it this morning and verified the kernel still builds. If you notice anything funky about the headers that is why. Peter -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message