Searched hist:296479 (Results 1 - 4 of 4) sorted by relevance
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/ | ||
H A D | fasttrap_isa.c | diff 296479 Tue Mar 08 00:58:12 MST 2016 markj Fix fasttrap tracepoint locking. Upstream, tracepoints are protected by per-CPU mutexes. An unlinked tracepoint may be freed once all the tracepoint mutexes have been acquired and released - this is done in fasttrap_mod_barrier(). This mechanism was not properly ported: in some places, the proc lock is used in place of a tracepoint lock, and in others the locking is omitted entirely. This change implements tracepoint locking with an rmlock, where the read lock is used in fasttrap probe context. As a side effect, this fixes a recursion on the proc lock when the raise action is used from a userland probe. MFC after: 1 month |
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/sys/ | ||
H A D | fasttrap_impl.h | diff 296479 Tue Mar 08 00:58:12 MST 2016 markj Fix fasttrap tracepoint locking. Upstream, tracepoints are protected by per-CPU mutexes. An unlinked tracepoint may be freed once all the tracepoint mutexes have been acquired and released - this is done in fasttrap_mod_barrier(). This mechanism was not properly ported: in some places, the proc lock is used in place of a tracepoint lock, and in others the locking is omitted entirely. This change implements tracepoint locking with an rmlock, where the read lock is used in fasttrap probe context. As a side effect, this fixes a recursion on the proc lock when the raise action is used from a userland probe. MFC after: 1 month |
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ | ||
H A D | fasttrap_isa.c | diff 296479 Tue Mar 08 00:58:12 MST 2016 markj Fix fasttrap tracepoint locking. Upstream, tracepoints are protected by per-CPU mutexes. An unlinked tracepoint may be freed once all the tracepoint mutexes have been acquired and released - this is done in fasttrap_mod_barrier(). This mechanism was not properly ported: in some places, the proc lock is used in place of a tracepoint lock, and in others the locking is omitted entirely. This change implements tracepoint locking with an rmlock, where the read lock is used in fasttrap probe context. As a side effect, this fixes a recursion on the proc lock when the raise action is used from a userland probe. MFC after: 1 month |
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/dtrace/ | ||
H A D | fasttrap.c | diff 296479 Tue Mar 08 00:58:12 MST 2016 markj Fix fasttrap tracepoint locking. Upstream, tracepoints are protected by per-CPU mutexes. An unlinked tracepoint may be freed once all the tracepoint mutexes have been acquired and released - this is done in fasttrap_mod_barrier(). This mechanism was not properly ported: in some places, the proc lock is used in place of a tracepoint lock, and in others the locking is omitted entirely. This change implements tracepoint locking with an rmlock, where the read lock is used in fasttrap probe context. As a side effect, this fixes a recursion on the proc lock when the raise action is used from a userland probe. MFC after: 1 month |
Completed in 101 milliseconds