Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Oct 2023 12:08:51 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 2167265cb801 - stable/13 - vfs: fix stale comment about freevnodes management
Message-ID:  <202310041208.394C8pnv053233@gitrepo.freebsd.org>

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

URL: https://cgit.FreeBSD.org/src/commit/?id=2167265cb801f1eeea3a1dd768fa1d9779d10a6e

commit 2167265cb801f1eeea3a1dd768fa1d9779d10a6e
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2023-09-14 17:28:32 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2023-10-04 12:04:15 +0000

    vfs: fix stale comment about freevnodes management
    
    (cherry picked from commit 9dc0c983b0931f359c2ff10d47ad835ef74e929a)
---
 sys/kern/vfs_subr.c | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c
index f58c8920dc4f..41fd5052968c 100644
--- a/sys/kern/vfs_subr.c
+++ b/sys/kern/vfs_subr.c
@@ -1459,12 +1459,12 @@ static struct proc *vnlruproc;
 static int vnlruproc_sig;
 
 /*
- * The main freevnodes counter is only updated when threads requeue their vnode
- * batches. CPUs are conditionally walked to compute a more accurate total.
+ * The main freevnodes counter is only updated when a counter local to CPU
+ * diverges from 0 by more than VNLRU_FREEVNODES_SLOP. CPUs are conditionally
+ * walked to compute a more accurate total.
  *
- * Limit how much of a slop are we willing to tolerate. Note: the actual value
- * at any given moment can still exceed slop, but it should not be by significant
- * margin in practice.
+ * Note: the actual value at any given moment can still exceed slop, but it
+ * should not be by significant margin in practice.
  */
 #define VNLRU_FREEVNODES_SLOP 126
 



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