freebsd-skq/sys/cddl
Mark Johnston 427bc75e19 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
2013-05-24 03:29:32 +00:00
..
boot/zfs MFV r245512: 2013-02-09 06:39:28 +00:00
compat/opensolaris MFV r248217: 2013-04-06 10:39:38 +00:00
contrib/opensolaris The fasttrap provider cleans up probes asynchronously when a process with 2013-05-24 03:29:32 +00:00
dev Bring back part of r249367 by adding DTrace's temporal option, which allows 2013-05-12 16:26:33 +00:00