PR/60568 CVS commit: src/sys

"Taylor R Campbell" <[email protected]>
Newsgroups gmane.os.netbsd.bugs
Message-ID <[email protected]>
The following reply was made to PR kern/60568; it has been noted by GNATS.

From: "Taylor R Campbell" <[email protected]>
To: [email protected]
Cc: 
Subject: PR/60568 CVS commit: src/sys
Date: Fri, 14 Aug 2026 03:01:23 +0000

 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.