diff options
author | Mateusz Guzik <mjg@FreeBSD.org> | 2023-09-14 17:28:32 +0000 |
---|---|---|
committer | Mateusz Guzik <mjg@FreeBSD.org> | 2023-09-14 17:29:52 +0000 |
commit | 9dc0c983b0931f359c2ff10d47ad835ef74e929a (patch) | |
tree | 56d7dacfade27a00ff58b46c59310fd13f4c229f /sys/kern/vfs_subr.c | |
parent | 76f1153790b6d2e1a4f0389c3ac24e41d08f9ba6 (diff) | |
download | src-9dc0c983b0931f359c2ff10d47ad835ef74e929a.tar.gz src-9dc0c983b0931f359c2ff10d47ad835ef74e929a.zip |
Diffstat (limited to 'sys/kern/vfs_subr.c')
-rw-r--r-- | sys/kern/vfs_subr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/vfs_subr.c b/sys/kern/vfs_subr.c index 4c9cb6200f10..ed478d33aed0 100644 --- a/sys/kern/vfs_subr.c +++ b/sys/kern/vfs_subr.c @@ -1444,12 +1444,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 |