From owner-svn-src-head@freebsd.org Sun Jul 5 22:44:42 2015 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CC42A9928F2; Sun, 5 Jul 2015 22:44:42 +0000 (UTC) (envelope-from markj@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BC3361925; Sun, 5 Jul 2015 22:44:42 +0000 (UTC) (envelope-from markj@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t65Migoj011243; Sun, 5 Jul 2015 22:44:42 GMT (envelope-from markj@FreeBSD.org) Received: (from markj@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t65MigOb011242; Sun, 5 Jul 2015 22:44:42 GMT (envelope-from markj@FreeBSD.org) Message-Id: <201507052244.t65MigOb011242@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: markj set sender to markj@FreeBSD.org using -f From: Mark Johnston Date: Sun, 5 Jul 2015 22:44:42 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r285183 - head/sys/kern X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Jul 2015 22:44:42 -0000 Author: markj Date: Sun Jul 5 22:44:41 2015 New Revision: 285183 URL: https://svnweb.freebsd.org/changeset/base/285183 Log: Remove a stale descriptive comment for gbincore(). The splay trees referenced in the comment were converted to path-compressed tries in r250551. MFC after: 3 days Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c ============================================================================== --- head/sys/kern/vfs_subr.c Sun Jul 5 22:37:33 2015 (r285182) +++ head/sys/kern/vfs_subr.c Sun Jul 5 22:44:41 2015 (r285183) @@ -1612,16 +1612,7 @@ buf_vlist_add(struct buf *bp, struct buf } /* - * Lookup a buffer using the splay tree. Note that we specifically avoid - * shadow buffers used in background bitmap writes. - * - * This code isn't quite efficient as it could be because we are maintaining - * two sorted lists and do not know which list the block resides in. - * - * 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. + * Look up a buffer using the buffer tries. */ struct buf * gbincore(struct bufobj *bo, daddr_t lblkno)