NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
PR/60568 CVS commit: src/sys
The following reply was made to PR kern/60568; it has been noted by GNATS.
From: "Taylor R Campbell" <riastradh%netbsd.org@localhost>
To: gnats-bugs%gnats.NetBSD.org@localhost
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.
Home |
Main Index |
Thread Index |
Old Index