diff options
author | Mark Johnston <markj@FreeBSD.org> | 2013-10-08 12:56:46 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2013-10-08 12:56:46 +0000 |
commit | cb7320ce7b3841f6cfaac18b0a2f857cedadfe5f (patch) | |
tree | 0ac019beee24414f3072bb5d72839a91ed0b4571 /sys/dev/nvme | |
parent | 0a2cefc676074563cc10c2fad63208e9a87ecbe4 (diff) | |
download | src-cb7320ce7b3841f6cfaac18b0a2f857cedadfe5f.tar.gz src-cb7320ce7b3841f6cfaac18b0a2f857cedadfe5f.zip |
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
Notes
Notes:
svn path=/head/; revision=256148
Diffstat (limited to 'sys/dev/nvme')
0 files changed, 0 insertions, 0 deletions