Go to file
bouyer 8c392da154 Previous did cause a deadlock with layered FS: the vrele thread
can sleep on the vnode lock, while vget is sleeping on the
VI_INACTNOW flag (or the vget caller is looping on vget returning failure
because of the VI_INACTNOW flag). With layered FSes, the upper and lower
vnodes share the same lock, so the vget() caller above can be already
holding the vnode lock.

Fix by dropping VI_INACTNOW before sleeping on the vnode lock in
vrelel(), and check the ref count again once we have the lock. If the
vnode has more than one reference, donc VOP_INACTIVE it.
Fix PR kern/42318 and PR kern/42377
patch tested by Hisashi T Fujinaka, Joachim König, Stephen Borrill and
Matthias Scheler.
2009-11-28 10:10:17 +00:00
bin Use %zu in printf format for size_t value. 2009-11-27 10:50:04 +00:00
common Use strong alias within the kernel namespace regardless of if we're 2009-11-26 07:40:34 +00:00
compat Regen for NOLINKLIB. 2009-11-09 15:49:35 +00:00
crypto PR/42363: Yasuoka Masahiko: 2009-11-22 19:34:55 +00:00
dist don't use pathname directly as msgq()'s first argument of format string. 2009-11-24 13:12:01 +00:00
distrib Remove fdisk/mbr for macppc which was blindly pulled from OpenBSD. 2009-11-27 15:37:32 +00:00
doc Add support for USB HID devices that report absolute coordinates instead 2009-11-27 08:35:05 +00:00
etc Hook openresolv into build. 2009-11-21 03:24:30 +00:00
external Fix compressed server accesses. 2009-11-27 18:38:29 +00:00
games use %option noinput nounput 2009-10-29 14:27:26 +00:00
gnu Lookup lwp0.l_addr instead of proc0paddr to locate PCB. 2009-11-27 02:51:15 +00:00
include add some prototypes for checked string functions 2009-11-17 20:47:59 +00:00
lib guard single-dot from modification by the application 2009-11-24 13:34:20 +00:00
libexec s/the the/the/ 2009-11-22 18:40:26 +00:00
regress Handle undefined USE_SSP. XXX *_SSP variables needs clean-up. 2009-11-25 09:30:04 +00:00
rescue kill ldd_aout. it didn't work anyway...not since i don't know when. 2009-08-22 06:52:15 +00:00
sbin Remove fdisk/mbr for macppc which was blindly pulled from OpenBSD. 2009-11-27 15:37:32 +00:00
share Add support for monitoring Fault LED and Alarms status. 2009-11-28 04:14:27 +00:00
sys Previous did cause a deadlock with layered FS: the vrele thread 2009-11-28 10:10:17 +00:00
tests Since rumpfs has supported file system sockets for quite a while 2009-11-26 17:33:23 +00:00
tools Actually use timestamp file's timestamps so that things rebuild correctly. 2009-11-25 11:49:36 +00:00
usr.bin Don't include newlines when comparing to prevent errors when lines have 2009-11-28 03:56:38 +00:00
usr.sbin s/the the/the/ 2009-11-22 18:45:27 +00:00
x11 add -n to gzip invocation 2009-03-31 21:12:51 +00:00
build.sh For rumptest, ignore unresolved symbols which are in the 2009-11-24 13:39:07 +00:00
BUILDING If ${NETBDSRCDIR}/../xsrc exists, then use it as the default value 2009-10-10 19:05:28 +00:00
Makefile build & install librumpdev_netsmb and librumpfs_smbfs components 2009-09-04 17:21:33 +00:00
Makefile.inc
UPDATING Note briefly that new amd64 kernels don't build with old binutils. 2009-11-16 07:45:50 +00:00