Date: Wed, 15 Nov 2000 18:19:53 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: current@FreeBSD.org, smp@FreeBSD.org Subject: RE: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 tra Message-ID: <XFMail.001115181953.jhb@FreeBSD.org> In-Reply-To: <200011160216.SAA29000@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 16-Nov-00 John Baldwin wrote: > jhb 2000/11/15 18:16:45 PST > > Modified files: > sys/alpha/alpha trap.c > sys/i386/i386 trap.c > sys/ia64/ia64 trap.c > sys/kern kern_mutex.c kern_shutdown.c kern_sig.c > kern_subr.c kern_synch.c > Log: > Don't release and acquire Giant in mi_switch(). Instead, release and > acquire Giant as needed in functions that call mi_switch(). The releases > need to be done outside of the sched_lock to avoid potential deadlocks > from trying to acquire Giant while interrupts are disabled. > > Submitted by: witness It is now safe to turn on WITNESS in -current kernels without having the machine panic or lockup.... At least it is on my set of test boxes. As such, I plan to turn on the various debugging options in -current's GENERIC sometime tomorrow (including WITNESS, but without DIAGNOSTIC). -- 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-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.001115181953.jhb>