Date: Mon, 6 Mar 1995 08:36:33 -0500 From: starkhome!gene@sbstark.cs.sunysb.edu (Gene Stark) To: davidg@Root.COM Cc: current@FreeBSD.org, dyson@Root.COM Subject: Page fault panics during make world in -current Message-ID: <199503061336.IAA03921@starkhome.cs.sunysb.edu> In-Reply-To: David Greenman's message of Sun, 05 Mar 1995 18:45:07 -0800 <199503060245.SAA00283@corbin.Root.COM>
next in thread | previous in thread | raw e-mail | index | archive | help
In vfs_vnops.c, line 245:
if (vp->v_flag & VVMIO) {
--> vrele(vp);
if( vp->v_vmdata == NULL)
panic("vn_close: VMIO object missing");
vm_object_deallocate( (vm_object_t) vp->v_vmdata);
} else
vrele(vp);
It seems wrong (or at least bad form), to access vp->v_vmdata after doing
vrele(vp), as vp might no longer be valid. It is not immediately clear that
a sleep is possible during vrele(), but it isn't immediately clear the
other way, either.
- Gene
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199503061336.IAA03921>
