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)
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to