From owner-cvs-all Thu Nov 15 9:31:11 2001 Delivered-To: cvs-all@freebsd.org Received: from mail6.speakeasy.net (mail6.speakeasy.net [216.254.0.206]) by hub.freebsd.org (Postfix) with ESMTP id 044A137B417 for ; Thu, 15 Nov 2001 09:31:04 -0800 (PST) Received: (qmail 19091 invoked from network); 15 Nov 2001 17:30:33 -0000 Received: from unknown (HELO laptop.baldwin.cx) ([64.81.54.73]) (envelope-sender ) by mail6.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 15 Nov 2001 17:30:33 -0000 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: <200111151729.fAFHTax23611@freefall.freebsd.org> Date: Thu, 15 Nov 2001 09:31:02 -0800 (PST) From: John Baldwin To: John Baldwin Subject: RE: cvs commit: src/sys/i386/i386 trap.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 15-Nov-01 John Baldwin wrote: > jhb 2001/11/15 09:29:36 PST > > Modified files: > sys/i386/i386 trap.c > Log: > - Don't enable interrupts in trap() if we trapped while holding a spin > lock as this usually makes the problem worse. > - If we get a page fault while holding a spin lock, treat it as a fatal > trap and don't even bother calling into the VM since calling into the > VM will panic when trying to lock Giant before we can get a useful > message anyways. Other architectures should probably do something similar to the second part here. (Calling trap_fatal() immediately for a page fault while holding a spin lock.) -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message