From owner-freebsd-smp Mon Jun 28 12:47:42 1999 Delivered-To: freebsd-smp@freebsd.org Received: from apollo.backplane.com (apollo.backplane.com [209.157.86.2]) by hub.freebsd.org (Postfix) with ESMTP id C374A14FCB for ; Mon, 28 Jun 1999 12:47:40 -0700 (PDT) (envelope-from dillon@apollo.backplane.com) Received: (from dillon@localhost) by apollo.backplane.com (8.9.3/8.9.1) id MAA24287; Mon, 28 Jun 1999 12:47:25 -0700 (PDT) (envelope-from dillon) Date: Mon, 28 Jun 1999 12:47:25 -0700 (PDT) From: Matthew Dillon Message-Id: <199906281947.MAA24287@apollo.backplane.com> To: John Hay Cc: peter@netplex.com.au (Peter Wemm), alc@cs.rice.edu (Alan Cox), tlambert@primenet.com (Terry Lambert), bakul@torrentnet.com (Bakul Shah), julian@whistle.com, freebsd-smp@FreeBSD.ORG Subject: Re: high-efficiency SMP locks - submission for review References: <199906281926.VAA16677@zibbi.mikom.csir.co.za> 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. :-) : :John :-- :John Hay -- John.Hay@mikom.csir.co.za 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. -Matt Matthew Dillon To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-smp" in the body of the message