From owner-freebsd-arch Tue Jan 28 11: 7: 9 2003 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7B3B037B401; Tue, 28 Jan 2003 11:07:08 -0800 (PST) Received: from apollo.backplane.com (apollo.backplane.com [216.240.41.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 05E9043F3F; Tue, 28 Jan 2003 11:07:08 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: from apollo.backplane.com (localhost [127.0.0.1]) by apollo.backplane.com (8.12.6/8.12.6) with ESMTP id h0SJ720i028160; Tue, 28 Jan 2003 11:07:02 -0800 (PST) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.12.6/8.12.6/Submit) id h0SJ72tA028159; Tue, 28 Jan 2003 11:07:02 -0800 (PST) Date: Tue, 28 Jan 2003 11:07:02 -0800 (PST) From: Matthew Dillon Message-Id: <200301281907.h0SJ72tA028159@apollo.backplane.com> To: Robert Watson Cc: Julian Elischer , Jeff Roberson , Steve Kargl , Gary Jennejohn , arch@FreeBSD.ORG Subject: Re: New scheduler - Interactivity fixes References: Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems to me that the correct solution is to use the SYSINIT mechanism to allow multiple schedulers to be loaded into the kernel, and choose one as a default (aka sched_4bsd) either with a flag in the SYSINIT or simply by order. Then a boot variable could be used to override the default and allow one to choose a particular scheduler. The work required to do this is minor. We need only structuralize / vectorize the few global procedures in sched_*() and then declare them static. -Matt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message