From owner-freebsd-smp Mon Jun 28 12:57:27 1999 Delivered-To: freebsd-smp@freebsd.org Received: from zibbi.mikom.csir.co.za (zibbi.mikom.csir.co.za [146.64.24.58]) by hub.freebsd.org (Postfix) with ESMTP id 0D43115423 for ; Mon, 28 Jun 1999 12:55:40 -0700 (PDT) (envelope-from jhay@zibbi.mikom.csir.co.za) Received: (from jhay@localhost) by zibbi.mikom.csir.co.za (8.9.3/8.9.3) id VAA17112; Mon, 28 Jun 1999 21:55:31 +0200 (SAT) (envelope-from jhay) From: John Hay Message-Id: <199906281955.VAA17112@zibbi.mikom.csir.co.za> Subject: Re: high-efficiency SMP locks - submission for review In-Reply-To: <199906281947.MAA24287@apollo.backplane.com> from Matthew Dillon at "Jun 28, 1999 12:47:25 pm" To: dillon@apollo.backplane.com (Matthew Dillon) Date: Mon, 28 Jun 1999 21:55:30 +0200 (SAT) Cc: freebsd-smp@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL54 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-smp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > :> The 386, I doubt has it. There have been a couple of suggestions for ending > :> the support for the 386 as it will simplify some ugly code for emulating > :> kernel-mode write faults etc, but it's never happened. Apparently the > :> 386 is common in some areas still. > : > :The 386 is still used a lot in embeded systems. (With FreeBSD running on > :some of them. :-) > : > > Since 386's are UP systems, I think it would be fairly easy to implement > the UP version of the compare-and-exchange primitive trivially with an > spl wrapper. We should be able to freely use use the cmpxchg instruction > on SMP systems. > Yes, I understand that and my worry wasn't about the lock code, but it sounded like somebody was sharpening an ax for the 386 code and I just wanted to show that it was still used. :-) John -- John Hay -- John.Hay@mikom.csir.co.za To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message