From owner-cvs-src@FreeBSD.ORG Tue May 20 13:50:34 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5A8B737B401; Tue, 20 May 2003 13:50:34 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E9E8843FA3; Tue, 20 May 2003 13:50:33 -0700 (PDT) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.6/8.12.6) with ESMTP id h4KKoX0U045365; Tue, 20 May 2003 13:50:33 -0700 (PDT) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4KKoXd8045364; Tue, 20 May 2003 13:50:33 -0700 (PDT) Message-Id: <200305202050.h4KKoXd8045364@repoman.freebsd.org> From: John Baldwin Date: Tue, 20 May 2003 13:50:33 -0700 (PDT) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/i386 trap.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2003 20:50:34 -0000 jhb 2003/05/20 13:50:33 PDT FreeBSD src repository Modified files: sys/i386/i386 trap.c Log: The per-CPU spinlocks list is only maintained when WITNESS is enabled. Thus, treat all page faults while in a critical section as fatal rather than just those that occur with a non-empty spinlocks list. All such page faults are fatal anyways. Calling trap_fatal() earlier increases the chances of getting more useful panic messages and a possible DDB prompt. Approved by: re (scottl) Revision Changes Path 1.252 +5 -5 src/sys/i386/i386/trap.c