From owner-freebsd-current Wed Jan 17 12: 6:42 2001 Delivered-To: freebsd-current@freebsd.org Received: from netau1.alcanet.com.au (ntp.alcanet.com.au [203.62.196.27]) by hub.freebsd.org (Postfix) with ESMTP id B317F37B6D6 for ; Wed, 17 Jan 2001 12:06:15 -0800 (PST) Received: from mfg1.cim.alcatel.com.au (mfg1.cim.alcatel.com.au [139.188.23.1]) by netau1.alcanet.com.au (8.9.3 (PHNE_22672)/8.9.3) with ESMTP id HAA26390; Thu, 18 Jan 2001 07:06:12 +1100 (EDT) Received: from gsmx07.alcatel.com.au by cim.alcatel.com.au (PMDF V5.2-32 #37641) with ESMTP id <01JZ1LDPPANKEMY4F4@cim.alcatel.com.au>; Thu, 18 Jan 2001 07:06:11 +1100 Received: (from jeremyp@localhost) by gsmx07.alcatel.com.au (8.11.0/8.11.0) id f0HK69o12156; Thu, 18 Jan 2001 07:06:09 +1100 (EST envelope-from jeremyp) Content-return: prohibited Date: Thu, 18 Jan 2001 07:06:09 +1100 From: Peter Jeremy Subject: Re: Atomic breakage? In-reply-to: <200101171543.KAA18055@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Wed, Jan 17, 2001 at 10:43:10AM -0500 To: Garrett Wollman Cc: current@FreeBSD.ORG Mail-followup-to: Garrett Wollman , current@FreeBSD.ORG Message-id: <20010118070608.D98607@gsmx07.alcatel.com.au> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-disposition: inline User-Agent: Mutt/1.2.5i References: <3A64AA23.30035A1C@elischer.org> <20010116191009.E7240@fw.wintelcom.net> <20010117142654.A98607@gsmx07.alcatel.com.au> <200101171543.KAA18055@khavrinen.lcs.mit.edu> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On 2001-Jan-17 10:43:10 -0500, Garrett Wollman wrote: >< said: > >> To support multiple masters, you need proper locks. > >On older processors, yes. On processors with the CX8 feature bit set, >you can do it without any sort of locking (indeed, this is a primitive >that semaphores can be built upon). This particular sub-thread was specifically discussing the 80386 - as I thought was clear from the context. I am aware of the CMPXCHG8B insn, but it's not relevant to the 386 or 486. >On pre-Pentium processors (which lack the CX8 feature) this sort of >sequence is impossible. OTOH, I don't think SMP works on any >pre-Pentium processor, so again this degenerates to: There are SMP machines using both 386 and 486 processors. There is no support in FreeBSD for SMP on pre-Pentium processors. Peter To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message