History log of /freebsd-12.1/sys/cddl/dev/dtrace/dtrace_debug.c (Results 1 – 5 of 5)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0
# 9fc47d24 13-Mar-2017 Mark Johnston <[email protected]>

Fix a backwards comparison in the code to dump a DTrace debug buffer.

PR: 217739
MFC after: 1 week


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0
# 6969ef66 23-Dec-2012 Ryan Stone <[email protected]>

Correct a series of errors in the hand-rolled locking for drace_debug.c:

- Use spinlock_enter()/spinlock_exit() to prevent a thread holding a
debug lock from being preempted to prevent other threa

Correct a series of errors in the hand-rolled locking for drace_debug.c:

- Use spinlock_enter()/spinlock_exit() to prevent a thread holding a
debug lock from being preempted to prevent other threads waiting
on that lock from starvation.

- Handle the possibility of CPU migration in between the fetch of curcpu
and the call to spinlock_enter() by saving curcpu in a local variable.

- Use memory barriers to prevent reordering of loads and stores of the
data protected by the lock outside of the critical section

- Eliminate false sharing of the locks by moving them into the structures
that they protect and aligning them to a cacheline boundary.

- Record the owning thread in the lock to make debugging future problems
easier.

Reviewed by: rpaulo (initial version)
MFC after: 2 weeks

show more ...


Revision tags: release/9.1.0, release/8.3.0
# ad4e66a6 16-Oct-2011 Marcel Moolenaar <[email protected]>

Define dtrace_cmpset_long in terms of atomic_cmpset_long
and not by virtue of inline assembly. Now this file
compiles on all supported architectures.


Revision tags: release/7.4.0, release/8.2.0, release/8.1.0
# 3aa6d94e 11-Jun-2010 John Baldwin <[email protected]>

Update several places that iterate over CPUs to use CPU_FOREACH().


Revision tags: release/7.3.0, release/8.0.0, release/7.2.0, release/7.1.0, release/6.4.0
# 91eaf3e1 23-May-2008 John Birrell <[email protected]>

Custom DTrace kernel module files plus FreeBSD-specific DTrace providers.