From owner-cvs-src@FreeBSD.ORG Mon May 12 21:36:03 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 7F69537B401; Mon, 12 May 2003 21:36:03 -0700 (PDT) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1F4BD43F75; Mon, 12 May 2003 21:36:03 -0700 (PDT) (envelope-from alc@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 h4D4a20U068655; Mon, 12 May 2003 21:36:02 -0700 (PDT) (envelope-from alc@repoman.freebsd.org) Received: (from alc@localhost) by repoman.freebsd.org (8.12.6/8.12.6/Submit) id h4D4a2Xq068654; Mon, 12 May 2003 21:36:02 -0700 (PDT) Message-Id: <200305130436.h4D4a2Xq068654@repoman.freebsd.org> From: Alan Cox Date: Mon, 12 May 2003 21:36:02 -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/kern vfs_subr.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, 13 May 2003 04:36:04 -0000 alc 2003/05/12 21:36:02 PDT FreeBSD src repository Modified files: sys/kern vfs_subr.c Log: Optimize the use of splay in gbincore(). During a "make buildworld" the desired buffer is found at one of the roots more than 60% of the time. Thus, checking both roots before performing either splay eliminates unnecessary splays on the first tree splayed. Approved by: re (jhb) Revision Changes Path 1.448 +22 -7 src/sys/kern/vfs_subr.c