Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 1999 09:11:47 -0700 (PDT)
From:      Matthew Dillon <dillon@apollo.backplane.com>
To:        Peter Wemm <peter@netplex.com.au>
Cc:        Alan Cox <alc@cs.rice.edu>, Terry Lambert <tlambert@primenet.com>, Bakul Shah <bakul@torrentnet.com>, julian@whistle.com, freebsd-smp@freebsd.org
Subject:   Re: high-efficiency SMP locks - submission for review 
Message-ID:  <199906281611.JAA22481@apollo.backplane.com>
References:   <19990628105659.8E8F582@overcee.netplex.com.au>

next in thread | previous in thread | raw e-mail | index | archive | help
: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?199906281611.JAA22481>