NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

PR/56950 CVS commit: src/sys

The following reply was made to PR kern/56950; it has been noted by GNATS.

From: "Jason R Thorpe" <>
Subject: PR/56950 CVS commit: src/sys
Date: Fri, 5 Aug 2022 05:20:39 +0000

 Module Name:	src
 Committed By:	thorpej
 Date:		Fri Aug  5 05:20:39 UTC 2022
 Modified Files:
 	src/sys/kern: vfs_vnode.c
 	src/sys/sys: vnode.h
 Log Message:
 In vcache_reclaim(), post NOTE_REVOKE immediately after changing the
 vnode state to VS_RECLAIMING, before we actually call VOP_RECLAIM(),
 which will release the reference on the lower node of a stacked FS
 vnode, which is likely to free the upper node's v_klist backing store.
 Acquire the vnode interlock when checking for kevent interest now,
 because the vp->v_klist pointer is now volatile.
 PR kern/56950
 To generate a diff of this commit:
 cvs rdiff -u -r1.144 -r1.145 src/sys/kern/vfs_vnode.c
 cvs rdiff -u -r1.302 -r1.303 src/sys/sys/vnode.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