Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2001 11:35:27 -0700 (PDT)
From:      John Baldwin <jhb@FreeBSD.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org
Subject:   RE: cvs commit: src/sys/i386/include atomic.h
Message-ID:  <XFMail.011011113527.jhb@FreeBSD.org>
In-Reply-To: <200110111821.f9BILwb78417@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

On 11-Oct-01 Garrett Wollman wrote:
> <<On Thu, 11 Oct 2001 11:16:24 -0700 (PDT), John Baldwin <jhb@FreeBSD.org>
> said:
> 
>> of atomic_cmpset() that works on a Dual Pentium II won't work on the 386
>> because it will result in an illegal instruction fault since the 386 doesn't
>> have cmpxchg.  One workaround is what the run time linker does for its locks
> 
> A better workaround is for the kernel to emulate the instruction.  It
> won't be fast, but it will work.

Patches accepted.

> -GAWollman

-- 

John Baldwin <jhb@FreeBSD.org> -- http://www.FreeBSD.org/~jhb/
PGP Key: http://www.baldwin.cx/~john/pgpkey.asc
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.011011113527.jhb>