Date: Wed, 15 Nov 2000 18:16:45 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 trap.c src/sys/ia64/ia64 trap.c src/sys/kern kern_mutex.c kern_shutdown.c kern_sig.c kern_subr.c kern_synch.c Message-ID: <200011160216.SAA29000@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 Revision Changes Path 1.36 +3 -1 src/sys/alpha/alpha/trap.c 1.160 +3 -1 src/sys/i386/i386/trap.c 1.6 +3 -1 src/sys/ia64/ia64/trap.c 1.16 +5 -40 src/sys/kern/kern_mutex.c 1.88 +3 -1 src/sys/kern/kern_shutdown.c 1.91 +9 -1 src/sys/kern/kern_sig.c 1.37 +3 -1 src/sys/kern/kern_subr.c 1.108 +6 -17 src/sys/kern/kern_synch.c 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?200011160216.SAA29000>