From owner-cvs-all Tue Aug 17 21: 9:42 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 88B8E14CF5; Tue, 17 Aug 1999 21:09:40 -0700 (PDT) (envelope-from alc@FreeBSD.org) Received: (from alc@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id VAA05643; Tue, 17 Aug 1999 21:08:34 -0700 (PDT) (envelope-from alc@FreeBSD.org) Message-Id: <199908180408.VAA05643@freefall.freebsd.org> From: Alan Cox Date: Tue, 17 Aug 1999 21:08:34 -0700 (PDT) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/conf files.i386 src/sys/i386/i386 atomic.c src/sys/i386/include atomic.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk alc 1999/08/17 21:08:34 PDT Modified files: sys/i386/conf files.i386 sys/i386/include atomic.h Added files: sys/i386/i386 atomic.c Log: Create callable (non-inline) versions of the atomic_OP_TYPE functions that are linked into the kernel. The KLD compilation options are changed to call these functions, rather than in-lining the atomic operations. This approach makes atomic operations from KLDs significantly faster on UP systems (though somewhat slower on SMP systems). PR: i386/13111 Submitted by: peter.jeremy@alcatel.com.au Revision Changes Path 1.259 +3 -1 src/sys/i386/conf/files.i386 1.5 +14 -3 src/sys/i386/include/atomic.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message