freebsd-dev/sys/cddl/contrib
Rui Paulo 47047e3418 Revamp locking a bit. This fixes three problems:
* processes now can't go away while we are inserting probes (fixes a panic)
* if a trap happens, we won't be holding the process lock (fixes a hang)
* fix a LOR between the process lock and the fasttrap bucket list lock

Thanks to kib for pointing some problems.
Sponsored by:	The FreeBSD Foundation
2010-09-12 14:12:16 +00:00
..
opensolaris Revamp locking a bit. This fixes three problems: 2010-09-12 14:12:16 +00:00