From owner-cvs-all@FreeBSD.ORG Tue Nov 7 19:45:26 2006 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 7DBA516A636; Tue, 7 Nov 2006 19:45:26 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id E8A4943D9E; Tue, 7 Nov 2006 19:45:05 +0000 (GMT) (envelope-from jhb@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 kA7Jj5UK031483; Tue, 7 Nov 2006 19:45:05 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id kA7Jj5nD031482; Tue, 7 Nov 2006 19:45:05 GMT (envelope-from jhb) Message-Id: <200611071945.kA7Jj5nD031482@repoman.freebsd.org> From: John Baldwin Date: Tue, 7 Nov 2006 19:45:05 +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 vfs_subr.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: Tue, 07 Nov 2006 19:45:26 -0000 jhb 2006-11-07 19:45:05 UTC FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: Simplify operations with sync_mtx in sched_sync(): - Don't drop the lock just to reacquire it again to check rushjob, this only wastes time. - Use msleep() to drop the mutex while sleeping instead of explicitly unlocking around tsleep. Reviewed by: pjd Revision Changes Path 1.691 +3 -7 src/sys/kern/vfs_subr.c