Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2020 07:25:45 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 906a73e791a0 - cache: fix up cache_hold_vnode comment
Message-ID:  <202012230725.0BN7Pjmb096551@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=906a73e791a005e228c1e3c9f8cb1e581359c786

commit 906a73e791a005e228c1e3c9f8cb1e581359c786
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2020-12-23 07:23:08 +0000
Commit:     Mateusz Guzik <mjg@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)



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