Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jul 2015 22:44:42 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r285183 - head/sys/kern
Message-ID:  <201507052244.t65MigOb011242@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507052244.t65MigOb011242>