From owner-cvs-all Mon Jul 12 20:33: 1 1999 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9945514ED0; Mon, 12 Jul 1999 20:32:59 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: (from alc@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA04305; Mon, 12 Jul 1999 20:32:18 -0700 (PDT) (envelope-from alc@FreeBSD.org) Message-Id: <199907130332.UAA04305@freefall.freebsd.org> From: Alan Cox Date: Mon, 12 Jul 1999 20:32:18 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/include atomic.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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