Searched hist:250953 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/
H A Dfasttrap.cdiff 250953 Fri May 24 03:37:08 MDT 2013 markj 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

Completed in 110 milliseconds