From owner-cvs-src@FreeBSD.ORG Thu Oct 26 09:33:35 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org 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 11B9816A407; Thu, 26 Oct 2006 09:33:35 +0000 (UTC) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id A7F2743D58; Thu, 26 Oct 2006 09:33:34 +0000 (GMT) (envelope-from davidxu@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k9Q9XY0v039285; Thu, 26 Oct 2006 09:33:34 GMT (envelope-from davidxu@repoman.freebsd.org) Received: (from davidxu@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k9Q9XYa7039284; Thu, 26 Oct 2006 09:33:34 GMT (envelope-from davidxu) Message-Id: <200610260933.k9Q9XYa7039284@repoman.freebsd.org> From: David Xu Date: Thu, 26 Oct 2006 09:33:34 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/kern kern_umtx.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 26 Oct 2006 09:33:35 -0000 davidxu 2006-10-26 09:33:34 UTC FreeBSD src repository Modified files: sys/kern kern_umtx.c Log: Optimize umtx_lock_pi() a bit by moving some heavy code out of the loop, make a fast path when a umtx_pi can be allocated without being blocked. Revision Changes Path 1.52 +27 -32 src/sys/kern/kern_umtx.c