Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 09:16:44 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Matthew Dillon <dillon@apollo.backplane.com>
Cc:        Peter Wemm <peter@netplex.com.au>, Alan Cox <alc@cs.rice.edu>, Terry Lambert <tlambert@primenet.com>, Bakul Shah <bakul@torrentnet.com>, freebsd-smp@freebsd.org
Subject:   Re: high-efficiency SMP locks - submission for review 
Message-ID:  <Pine.BSF.3.95.990628091426.10211B-100000@current1.whistle.com>
In-Reply-To: <199906281611.JAA22481@apollo.backplane.com>

next in thread | previous in thread | raw e-mail | index | archive | help
I'd say that we probably wouldn't support SMP on 386 and 486 processors..
and in UP those locks that need atomicity would be optimised  away.

We WILL need locking in UP when we move to kernel threads, but that
doesn't require bus atomicity.

julian
 

On Mon, 28 Jun 1999, Matthew Dillon wrote:

> :Actually, I have a bigger issue with it..  cmpxchgl etc doesn't exist on
> :all x86 cpus.  To make a kernel that boots on the current cpus (including
> :the 486) we either have to conditionalize the inlines or use the
> :universally available (and implicitly locked) xchg instruction - but that's
> :a test-and-set style operation rather than atomic_cmpex.
> :
> :Cheers,
> :-Peter
> 
>     My "Intel486 Processor Family" book - note the 486, lists the cmpxchgl
>     instruction.  Of course, I've never actually tried it on a 486.  I dunno
>     whether the 386 implements it, though.
> 
> 					-Matt
> 					Matthew Dillon 
> 					<dillon@backplane.com>
> 
> 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-smp" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990628091426.10211B-100000>