Date: Sat, 18 Nov 2000 22:02:33 -0800 (PST) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha machdep.c src/sys/i386/i386 machdep.c src/sys/ia64/ia64 machdep.c src/sys/kern kern_clock.c kern_intr.c kern_mutex.c kern_timeout.c src/sys/sys callout.h Message-ID: <200011190602.WAA98532@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2000/11/18 22:02:33 PST Modified files: sys/alpha/alpha machdep.c sys/i386/i386 machdep.c sys/ia64/ia64 machdep.c sys/kern kern_clock.c kern_intr.c kern_mutex.c kern_timeout.c sys/sys callout.h Log: - Protect the callout wheel with a separate spin mutex, callout_lock. - Use the mutex in hardclock to ensure no races between it and softclock. - Make softclock be INTR_MPSAFE and provide a flag, CALLOUT_MPSAFE, which specifies that a callout handler does not need giant. There is still no way to set this flag when regstering a callout. Reviewed by: -smp@, jlemon Revision Changes Path 1.100 +3 -1 src/sys/alpha/alpha/machdep.c 1.421 +3 -1 src/sys/i386/i386/machdep.c 1.12 +3 -1 src/sys/ia64/ia64/machdep.c 1.116 +13 -3 src/sys/kern/kern_clock.c 1.32 +2 -2 src/sys/kern/kern_intr.c 1.18 +2 -1 src/sys/kern/kern_mutex.c 1.63 +25 -18 src/sys/kern/kern_timeout.c 1.18 +3 -1 src/sys/sys/callout.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?200011190602.WAA98532>