Date: Mon, 12 Jul 1999 20:32:18 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include atomic.h Message-ID: <199907130332.UAA04305@freefall.freebsd.org>
index | next in thread | raw e-mail
alc 1999/07/12 20:32:18 PDT
Modified files:
sys/i386/include atomic.h
Log:
Changed the implementation of the primitives to guarantee atomicity
with respect to interrupts on UP systems. (The upgrade from gcc 2.7.x
to egcs 1.1.2 produced at least one non-atomic code sequence in
swap_pager_getpages.)
In addition, the primitives are now SMP-safe, but only on SMPs. (For
portability between SMPs and UPs, modules are compiled with the SMP-safe
versions.)
Submitted by: dillon and myself
Reviewed by: bde
Revision Changes Path
1.2 +42 -22 src/sys/i386/include/atomic.h
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199907130332.UAA04305>
