Go to file
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
bin fix typos 2007-04-29 20:23:34 +00:00
common It's "Copy a dictionary" not "Copy an dictionary". preempt wiz and 2007-04-28 06:01:13 +00:00
crypto fix usage error: use type for .Ft 2007-04-13 18:22:08 +00:00
dist On amd64 U_QUAD_T is (probably) 'unsigned long', but "%qd" expects to see 2007-04-21 11:16:53 +00:00
distrib Import of POSIX Asynchronous I/O. 2007-04-30 14:44:28 +00:00
doc Note addition of new ppcoea-renovation branch. 2007-05-01 01:57:00 +00:00
etc Terminate amd(8) gracefully during system shutdown. 2007-04-23 14:27:30 +00:00
games Per PR 36185, OKed by martin@ 2007-04-22 02:09:02 +00:00
gnu Fix LP64 issue with invalid register names. When printing a register name, 2007-04-20 16:30:32 +00:00
include - Create sysctl nodes for AIO. 2007-05-01 01:01:25 +00:00
lib Set kp2p->p_ru = 0 in the kproc2 structure. 2007-05-01 06:58:08 +00:00
libexec Expand documentation on numeric argument suffix parsing, and convert 2007-04-13 01:36:10 +00:00
regress Disable test ni23 - the expected output contains the hash bucket number, 2007-04-14 20:50:48 +00:00
rescue Add: lfs_cleanerd 2007-03-23 05:48:34 +00:00
sbin Bump date because of last change. 2007-04-30 12:33:13 +00:00
share Add amd64 to the list of ports that support linux emulation. 2007-04-30 21:16:55 +00:00
sys Fix a problem introduced when I converted puffs to use newlock2: 2007-05-01 12:18:40 +00:00
tools Remove non-shared hooks for VAX. 2007-03-31 05:55:43 +00:00
usr.bin - Create sysctl nodes for AIO. 2007-05-01 01:01:25 +00:00
usr.sbin fix typos 2007-04-29 20:23:34 +00:00
x11 build sunffb and xf8_32wid on sparc 2007-04-22 23:42:38 +00:00
BUILDING Document recent changes to "make iso-image". 2007-04-13 19:43:38 +00:00
Makefile Add an iso_image target (iso-image as a target name doesn't play well with 2007-03-06 21:56:47 +00:00
Makefile.inc
UPDATING Add a note about the way absolute symlinks inside the emulated root are now 2007-04-30 20:50:20 +00:00
build.sh Fix some problems with the change from revision 1.167: 2007-04-14 10:50:48 +00:00