summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2011-06-20 17:05:46 +0000
committerderaadt <deraadt@openbsd.org>2011-06-20 17:05:46 +0000
commitdc6499960f1abce9a2bb5341f1d54c92a08fe7e6 (patch)
tree759e41d19f6f5456fb96ccf9da61d3286539147f /lib/libc/stdlib/malloc.c
parentfor now, move back to a private rw_lock rather than the disk_lock. (diff)
downloadwireguard-openbsd-dc6499960f1abce9a2bb5341f1d54c92a08fe7e6.tar.xz
wireguard-openbsd-dc6499960f1abce9a2bb5341f1d54c92a08fe7e6.zip
serialize attach and detach of device sub-trees -- only one device
sub-tree may attach or detach at a time. attach and detach will sleep against each other. this is fixing (working around?) some bizzare corner cases that have been seen (but not fully diagnosed) where the device trees, disk registration subsystem, and other things could get messed up. one could argue though that this serialization is a very good thing; it is easier than adding piles of locks in various other places. ok matthew jsing
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions