<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/cddl/dev/dtrace/dtrace_debug.c, branch stable/13</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>sys: Remove $FreeBSD$: two-line .h pattern</title>
<updated>2023-08-23T17:43:20+00:00</updated>
<author>
<name>Warner Losh</name>
<email>imp@FreeBSD.org</email>
</author>
<published>2023-08-22T01:31:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=f8167e0404dab9ffeaca95853dd237ab7c587f82'/>
<id>f8167e0404dab9ffeaca95853dd237ab7c587f82</id>
<content type='text'>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 95ee2897e98f)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/

Similar commit in current:
(cherry picked from commit 95ee2897e98f)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a backwards comparison in the code to dump a DTrace debug buffer.</title>
<updated>2017-03-13T18:43:00+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2017-03-13T18:43:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9fc47d244cf8290169eaf2e667ca89fde439136e'/>
<id>9fc47d244cf8290169eaf2e667ca89fde439136e</id>
<content type='text'>
PR:		217739
MFC after:	1 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR:		217739
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Correct a series of errors in the hand-rolled locking for drace_debug.c:</title>
<updated>2012-12-23T15:50:37+00:00</updated>
<author>
<name>Ryan Stone</name>
<email>rstone@FreeBSD.org</email>
</author>
<published>2012-12-23T15:50:37+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6969ef66568fade80524bd98d6b1e7b3ae501e6c'/>
<id>6969ef66568fade80524bd98d6b1e7b3ae501e6c</id>
<content type='text'>
- 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- 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
</pre>
</div>
</content>
</entry>
<entry>
<title>Define dtrace_cmpset_long in terms of atomic_cmpset_long</title>
<updated>2011-10-16T22:18:08+00:00</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2011-10-16T22:18:08+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ad4e66a63c2387afa3a7cbdf7ca1f921ee1aaf06'/>
<id>ad4e66a63c2387afa3a7cbdf7ca1f921ee1aaf06</id>
<content type='text'>
and not by virtue of inline assembly. Now this file
compiles on all supported architectures.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and not by virtue of inline assembly. Now this file
compiles on all supported architectures.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update several places that iterate over CPUs to use CPU_FOREACH().</title>
<updated>2010-06-11T18:46:34+00:00</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2010-06-11T18:46:34+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3aa6d94e0c599b7b250f250454bd9414cf0fd46d'/>
<id>3aa6d94e0c599b7b250f250454bd9414cf0fd46d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Custom DTrace kernel module files plus FreeBSD-specific DTrace providers.</title>
<updated>2008-05-23T05:59:42+00:00</updated>
<author>
<name>John Birrell</name>
<email>jb@FreeBSD.org</email>
</author>
<published>2008-05-23T05:59:42+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=91eaf3e1831d805c9cffd85818a70213d9007e07'/>
<id>91eaf3e1831d805c9cffd85818a70213d9007e07</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
