freebsd-skq/sys/cddl/contrib/opensolaris
Mark Johnston cb7320ce7b Initialize and free the DTrace taskqueue in the dtrace module load/unload
handlers rather than in the dtrace device open/close methods. The current
approach can cause a panic if the device is closed which the taskqueue
thread is active, or if a kernel module containing a provider is unloaded
while retained enablings are present and the dtrace device isn't opened.

Submitted by:	gibbs (original version)
Reviewed by:	gibbs
Approved by:	re (glebius)
MFC after:	2 weeks
2013-10-08 12:56:46 +00:00
..
common MFV r254750: 2013-09-21 00:17:26 +00:00
uts Initialize and free the DTrace taskqueue in the dtrace module load/unload 2013-10-08 12:56:46 +00:00
OPENSOLARIS.LICENSE