summaryrefslogtreecommitdiffstats
path: root/tools/regression/lib/libc/stdlib/test-qsort.c
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2013-05-24 03:29:32 +0000
committermarkj <markj@FreeBSD.org>2013-05-24 03:29:32 +0000
commit3a3a741b63626378a8892385f26b8e018264ce5c (patch)
treedea9be7cd9b822ce842d06db5e795b76b958c996 /tools/regression/lib/libc/stdlib/test-qsort.c
parent49df02549e7335dc4d20412472adcb0a8e36b575 (diff)
downloadFreeBSD-src-3a3a741b63626378a8892385f26b8e018264ce5c.zip
FreeBSD-src-3a3a741b63626378a8892385f26b8e018264ce5c.tar.gz
The fasttrap provider cleans up probes asynchronously when a process with
USDT probes exits. This was previously done with a callout; however, it is possible to sleep while holding the DTrace mutexes, so a panic will occur on INVARIANTS kernels if the callout handler can't immediately acquire one of these mutexes. This panic will be frequently triggered on systems where a USDT-enabled program (perl, for instance) is often run. This revision changes the fasttrap cleanup mechanism so that a dedicated thread is used instead of a callout. The old behaviour is otherwise preserved. Reviewed by: rpaulo MFC after: 1 month
Diffstat (limited to 'tools/regression/lib/libc/stdlib/test-qsort.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud