CVS commit: src/sys/kern

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Tue Aug 18 15:57:33 UTC 2026

Modified Files:
	src/sys/kern: vfs_vnode.c

Log Message:
vdrain: Recompute target after each iteration.

This way if sysctl -w kern.maxvnodes=N fails, the vdrain task doesn't
perpetually keep trying to attain the unattainable.

Doesn't fix everything about racy access to desiredvnodes, but it
should help with the major symptom.

PR kern/60603: Sisyphean vdrain task


To generate a diff of this commit:
cvs rdiff -u -r1.158 -r1.159 src/sys/kern/vfs_vnode.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.