NetBSD/sys
pooka 6ffefad6ef Fix a problem introduced when I converted puffs to use newlock2:
when unmounting the file system in case of a certain timing (and
possibly some other conditions), a thread would wait on a condition
variable, while another thread broadcast the cv and immediately
proceeded to destroy it.  The result was a system frozen completely
solid shorly after the process waiting for the cv woke up.  So
introduce reference counting to synchronize destruction of the
resources in unmount.

I was able to repeat the problem only on my laptop in some special
cases, so I do not know how common it was.  Ironically, killing
the file server process violently instead of unmount() didn't have
this problem because it never entered the unmount path from two
directions.
2007-05-01 12:18:40 +00:00
..
altq Remove duplicate #include <sys/kauth.h> 2007-03-26 22:43:19 +00:00
arch fix typos 2007-04-29 20:23:34 +00:00
coda make coda compile again. 2007-04-25 20:45:02 +00:00
compat Include extra header (vfs_syscalls.h). 2007-04-30 20:20:28 +00:00
conf Import of POSIX Asynchronous I/O. 2007-04-30 14:44:28 +00:00
contrib/dev/ath Remove support for NetBSD/{,evb}sh5. 2007-04-08 09:35:21 +00:00
crypto
ddb Import of POSIX Asynchronous I/O. 2007-04-30 14:44:28 +00:00
dev Convert to using BITS macros, and add some additional defines for 2007-05-01 07:52:51 +00:00
dist Add a define for caddr_t to ip_compat.h and revert most of the 2007-04-27 10:17:15 +00:00
fs Fix a problem introduced when I converted puffs to use newlock2: 2007-05-01 12:18:40 +00:00
gdbscripts
ipkdb
kern - Create sysctl nodes for AIO. 2007-05-01 01:01:25 +00:00
lib Include byte_swap_[24].c for kernels compiled with -O0 2007-04-13 22:12:04 +00:00
lkm Change the way that emulations locate files within the emulation root to 2007-04-22 08:29:55 +00:00
miscfs Split the VOP interface part of genfs_putpages() from the code. The new 2007-04-24 22:46:03 +00:00
net Free route cache after detaching an etherip(4) instance. 2007-04-23 05:05:03 +00:00
net80211 Reference the right flag, 2007-03-26 21:22:35 +00:00
netatalk
netbt fix typos 2007-04-29 20:23:34 +00:00
netinet Get rid of some gratuitous casts and join some lines. 2007-04-25 00:11:18 +00:00
netinet6 Back out last. To compile, it depends on changes that I am not 2007-04-25 20:40:20 +00:00
netipsec Choose the good default policy, depending of the adress family of the 2007-04-15 14:17:12 +00:00
netisdn
netiso fix typos 2007-04-29 20:23:34 +00:00
netkey When we construct an answer for SADB_X_SPDGET, don't use an hardcoded 0 for seq but 2007-04-11 21:33:40 +00:00
netnatm
netsmb Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
nfs remove R_GETONEREP. 2007-04-30 23:10:55 +00:00
opencrypto Pass an ipl argument to pool_init/POOL_INIT to be used when initializing 2007-03-12 18:18:22 +00:00
secmodel
stand
sys - Create sysctl nodes for AIO. 2007-05-01 01:01:25 +00:00
ufs Get rid of our own private copy of genfs_putpages, having adapted the real 2007-04-24 22:47:56 +00:00
uvm adjust misleading comment: PGO_SYNCIO does not depend on PGO_CLEANIT 2007-04-23 20:10:50 +00:00
Makefile