From owner-cvs-all@FreeBSD.ORG Thu Mar 31 04:26:00 2005 Return-Path: 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 8266A16A4CE; Thu, 31 Mar 2005 04:26:00 +0000 (GMT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB5F043D3F; Thu, 31 Mar 2005 04:25:59 +0000 (GMT) (envelope-from jeff@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 j2V4Pxge092803; Thu, 31 Mar 2005 04:25:59 GMT (envelope-from jeff@repoman.freebsd.org) Received: (from jeff@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j2V4PxHv092802; Thu, 31 Mar 2005 04:25:59 GMT (envelope-from jeff) Message-Id: <200503310425.j2V4PxHv092802@repoman.freebsd.org> From: Jeff Roberson Date: Thu, 31 Mar 2005 04:25:59 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/kern kern_lock.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 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: Thu, 31 Mar 2005 04:26:00 -0000 jeff 2005-03-31 04:25:59 UTC FreeBSD src repository Modified files: sys/kern kern_lock.c Log: - Remove apause(). It makes no sense with our present mutex implementation since simply unlocking a mutex does not ensure that one of the waiters will run and acquire it. We're more likely to reacquire the mutex before anyone else has a chance. It has also bit me three times now, as it's not safe to drop the interlock before sleeping in many cases. Sponsored by: Isilon Systems, Inc. Revision Changes Path 1.85 +0 -40 src/sys/kern/kern_lock.c