From owner-freebsd-arch@FreeBSD.ORG Sat Apr 19 09:41:17 2003 Return-Path: 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 C63F337B401; Sat, 19 Apr 2003 09:41:17 -0700 (PDT) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A99943F85; Sat, 19 Apr 2003 09:41:16 -0700 (PDT) (envelope-from bde@zeta.org.au) Received: from katana.zip.com.au (katana.zip.com.au [61.8.7.246]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id CAA06045; Sun, 20 Apr 2003 02:41:12 +1000 Date: Sun, 20 Apr 2003 02:41:11 +1000 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Mike Barcroft In-Reply-To: <20030419113436.C8793@espresso.bsdmike.org> Message-ID: <20030420022510.O16869@gamplex.bde.org> References: <200304182047.h3IKlhIZ000817@number6.magda.ca> <20030419165033.V15269@gamplex.bde.org> <20030419113436.C8793@espresso.bsdmike.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: arch@FreeBSD.org cc: jeff@FreeBSD.org cc: David Magda cc: Kris Kennaway Subject: Re: config(8) should check if a scheduler is selected X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 19 Apr 2003 16:41:18 -0000 On Sat, 19 Apr 2003, Mike Barcroft wrote: > Bruce Evans writes: > > It is the only mandatory option (sic). Kernels with no options (although [SCHED_4BSD/SCHED_ULE] > > they might not be useful) can be built except for this bug. Example of > > Since all `options' are optional, maybe `sched' should be its own > directive with two possible values: `4BSD' or `ULE'. This would only be a name change since you would still have to set it. I want defaults for "standard" options like this with a way to override them. A defaults file could be included to get the defaults (after fixing the bugs in the include directive). Then it there should be a cleaner way of overriding the options than this current way: options SCHED_4BSD # Default (from include file). #nooptions SCHED_4BSD # Have to know name of old opt to turn it off. nooption SCHED_4BSD # Actual spelling of directive is astonishing. options SCHED_ULE # Set new option. Bruce