CVS commit: src/sys

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.devel.cvs
Message-ID <[email protected]>
Module Name:	src
Committed By:	riastradh
Date:		Fri Aug 14 03:01:23 UTC 2026

Modified Files:
	src/sys/kern: kern_proc.c
	src/sys/sys: proc.h

Log Message:
kern: New function proc_find_reflocked.

This is like proc_find_locked but returns with p_reflock held rather
than p_lock.  Will be used to replace proc_find_locked in order to
fix:

PR kern/60568: panic locking against myself (p->p_lock) in NFS from
sysctl_vmproc

No modules currently use proc_find_locked or proc_find_reflocked, so
there should be no module ABI compatibility issues here.


To generate a diff of this commit:
cvs rdiff -u -r1.283 -r1.284 src/sys/kern/kern_proc.c
cvs rdiff -u -r1.373 -r1.374 src/sys/sys/proc.h

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.