From owner-freebsd-arch Wed May 24 8:24:40 2000 Delivered-To: freebsd-arch@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id D52EE37BCDC for ; Wed, 24 May 2000 08:24:32 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id KAA14552; Wed, 24 May 2000 10:24:26 -0500 (CDT) (envelope-from dan) Date: Wed, 24 May 2000 10:24:26 -0500 From: Dan Nelson To: Chuck Paterson Cc: arch@FreeBSD.ORG Subject: Re: Preemptive kernel on older X86 hardware Message-ID: <20000524102426.A8590@dan.emsphone.com> References: <200005241446.IAA05589@berserker.bsdi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200005241446.IAA05589@berserker.bsdi.com>; from "Chuck Paterson" on Wed May 24 08:46:03 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 24), Chuck Paterson said: > The 386 processors do not support the locked exchange instruction. > For these systems the locked exchange can be replaced with roughly a > "cli, tst, cmp, branch, store, sti". > > The following are the obvious choices > > 1. Make two separate builds. Why not just make it conditional on the "cpu I386_CPU" line in the kernel Makefile? The comment already reads: # deleting the specification for CPUs you don't need to use may make # parts of the system run faster. This is especially true removing # I386_CPU. Distribute GENERIC just like usual, and let the user remove I386_CPU when he builds his own kerenl. > I have talked to a couple of people who think that supporting this > older stuff won't be important to FreeBSD by the time the kernel is > preemptive. Some even thought supporting the original Pentium > processors might not be required. I'll propose the following as it I wouldn't go that far, unless you're thinking 3-4 years in the future? There are a lot of overdrive and AMD CPUs out there that use the 486 instruction set. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message