Date: Fri, 20 Oct 2000 01:10:49 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: John Baldwin <jhb@FreeBSD.org>, alpha@FreeBSD.org, ia64@FreeBSD.org Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: RE: cvs commit: src/sys/sys mutex.h src/sys/kern kern_mutex.c sr Message-ID: <XFMail.001020011049.jhb@FreeBSD.org> In-Reply-To: <200010200726.AAA40906@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 20-Oct-00 John Baldwin wrote: > jhb 2000/10/20 00:26:37 PDT > > Modified files: > sys/kern kern_mutex.c > sys/i386/include mutex.h > sys/alpha/include mutex.h > sys/ia64/include mutex.h > sys/conf files.alpha files.i386 files.ia64 > files.pc98 options > Added files: > sys/sys mutex.h > Removed files: > sys/i386/i386 synch_machdep.c > sys/alpha/alpha synch_machdep.c > sys/ia64/ia64 synch_machdep.c > Log: > - Make the mutex code almost completely machine independent. This greatly > reducues the maintenance load for the mutex code. The only MD portions > of the mutex code are in machine/mutex.h now, which include the assembly > macros for handling mutexes as well as optionally overriding the mutex > micro-operations. For example, we use optimized micro-ops on the x86 > platform #ifndef I386_CPU. WARNING: I haven't directly tested this on the alpha, or on the ia64, although it has been running for the past week or so on x86. However, I did test to make sure that the atomic.h changes that make all this possible did compile fine on the alpha. Also, the code is MI, so in theory the architecture shouldn't matter. I'll be testing a remote alpha kernel build in the very near future, but this is just a heads up to watch your step on non-x86. :) -- 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 freebsd-alpha" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001020011049.jhb>