Date: Tue, 17 Aug 1999 21:08:34 -0700 (PDT) From: Alan Cox <alc@FreeBSD.org> 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 Message-ID: <199908180408.VAA05643@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199908180408.VAA05643>
