From owner-freebsd-current Wed Nov 15 18:19:30 2000 Delivered-To: freebsd-current@freebsd.org Received: from pike.osd.bsdi.com (pike.osd.bsdi.com [204.216.28.222]) by hub.freebsd.org (Postfix) with ESMTP id 2867637B4CF; Wed, 15 Nov 2000 18:19:26 -0800 (PST) Received: from laptop.baldwin.cx (john@jhb-laptop.osd.bsdi.com [204.216.28.241]) by pike.osd.bsdi.com (8.11.0/8.9.3) with ESMTP id eAG2JHB42159; Wed, 15 Nov 2000 18:19:17 -0800 (PST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.4.0 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <200011160216.SAA29000@freefall.freebsd.org> Date: Wed, 15 Nov 2000 18:19:53 -0800 (PST) From: John Baldwin To: current@FreeBSD.org, smp@FreeBSD.org Subject: RE: cvs commit: src/sys/alpha/alpha trap.c src/sys/i386/i386 tra Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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 -- 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