summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_subr.c
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2015-07-05 22:44:41 +0000
committermarkj <markj@FreeBSD.org>2015-07-05 22:44:41 +0000
commitf94d7a8603d94f28c2c67817a28a10f38aa7eea4 (patch)
treeea8e2b8701d967bbb016876ff73210c05ac909db /sys/kern/vfs_subr.c
parentd19ba3f89dbe1aa527570d4bbbcc6bf7bacd7db2 (diff)
downloadFreeBSD-src-f94d7a8603d94f28c2c67817a28a10f38aa7eea4.zip
FreeBSD-src-f94d7a8603d94f28c2c67817a28a10f38aa7eea4.tar.gz
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
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r--sys/kern/vfs_subr.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index 1f1a7b6..30aea62 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1612,16 +1612,7 @@ buf_vlist_add(struct buf *bp, struct bufobj *bo, b_xflags_t xflags)
}
/*
- * 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)
OpenPOWER on IntegriCloud