From owner-cvs-all@FreeBSD.ORG Sun Oct 9 04:30:32 2005 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6836716A420; Sun, 9 Oct 2005 04:30:32 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2621343D45; Sun, 9 Oct 2005 04:30:32 +0000 (GMT) (envelope-from delphij@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id j994UWws034105; Sun, 9 Oct 2005 04:30:32 GMT (envelope-from delphij@repoman.freebsd.org) Received: (from delphij@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j994UWZC034104; Sun, 9 Oct 2005 04:30:32 GMT (envelope-from delphij) Message-Id: <200510090430.j994UWZC034104@repoman.freebsd.org> From: Xin LI Date: Sun, 9 Oct 2005 04:30:32 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sys/kern kern_mutex.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Oct 2005 04:30:32 -0000 delphij 2005-10-09 04:30:32 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sys/kern kern_mutex.c Log: MFC (by jhb) | - Add an assertion to panic if one tries to call mtx_trylock() on a spin | mutex. | - Don't panic if a spin lock is held too long inside _mtx_lock_spin() if | panicstr is set (meaning that we are already in a panic). Just keep | spinning forever instead. | | Revision Changes Path | 1.157 +4 -1 src/sys/kern/kern_mutex.c Approved by: re (scottl) Revision Changes Path 1.154.2.3 +4 -1 src/sys/kern/kern_mutex.c