git: 906a73e791a0 - cache: fix up cache_hold_vnode comment
Mateusz Guzik
mjg at FreeBSD.org
Wed Dec 23 07:25:45 UTC 2020
The branch main has been updated by mjg:
URL: https://cgit.FreeBSD.org/src/commit/?id=906a73e791a005e228c1e3c9f8cb1e581359c786
commit 906a73e791a005e228c1e3c9f8cb1e581359c786
Author: Mateusz Guzik <mjg at FreeBSD.org>
AuthorDate: 2020-12-23 07:23:08 +0000
Commit: Mateusz Guzik <mjg at FreeBSD.org>
CommitDate: 2020-12-23 07:24:29 +0000
cache: fix up cache_hold_vnode comment
---
sys/kern/vfs_cache.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/sys/kern/vfs_cache.c b/sys/kern/vfs_cache.c
index be2ed58ff4fc..38121893126e 100644
--- a/sys/kern/vfs_cache.c
+++ b/sys/kern/vfs_cache.c
@@ -514,9 +514,8 @@ cache_assert_vnode_locked(struct vnode *vp)
* 1. make them less of a target for reclamation in vnlru
* 2. suffer smaller performance penalty in locked lookup as requeieing is avoided
*
- * Note this preferably would not be done and it's a hold over from. It will be
- * feasible to eliminate altogether if all filesystems start supporting
- * lockless lookup.
+ * It will be feasible to stop doing it altogether if all filesystems start
+ * supporting lockless lookup.
*/
static void
cache_hold_vnode(struct vnode *vp)
More information about the dev-commits-src-main
mailing list