<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/cddl/contrib/opensolaris, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>cddl: remove sparc and mips code</title>
<updated>2026-01-10T05:05:37+00:00</updated>
<author>
<name>Minsoo Choo</name>
<email>minsoochoo0122@proton.me</email>
</author>
<published>2025-12-01T15:10:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c29ec2ee9871cc21c3406bf6ed398980acbedcb5'/>
<id>c29ec2ee9871cc21c3406bf6ed398980acbedcb5</id>
<content type='text'>
Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1910
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/1910
</pre>
</div>
</content>
</entry>
<entry>
<title>mips: remove mips leftovers</title>
<updated>2026-01-06T17:56:50+00:00</updated>
<author>
<name>Minsoo Choo</name>
<email>minsoochoo0122@proton.me</email>
</author>
<published>2025-12-01T02:48:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6c6e00b7f16f3bda1b56da6a57d65ff6e26ae3e7'/>
<id>6c6e00b7f16f3bda1b56da6a57d65ff6e26ae3e7</id>
<content type='text'>
Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Pull-request: https://github.com/freebsd/freebsd-src/pull/1909
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Minsoo Choo &lt;minsoochoo0122@proton.me&gt;
Pull-request: https://github.com/freebsd/freebsd-src/pull/1909
</pre>
</div>
</content>
</entry>
<entry>
<title>zfs: fix build after openzfs/zfs@e63d026b9</title>
<updated>2025-11-17T16:11:56+00:00</updated>
<author>
<name>Martin Matuska</name>
<email>mm@FreeBSD.org</email>
</author>
<published>2025-11-16T11:15:14+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4303bde4297a3d19cabdb08ce1550f682578d2ba'/>
<id>4303bde4297a3d19cabdb08ce1550f682578d2ba</id>
<content type='text'>
Fix Makefiles
Update zfs_config.h and zfs_gitrev.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix Makefiles
Update zfs_config.h and zfs_gitrev.h
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: Deduplicate dtrace_sync() and dtrace_xcall() implementations</title>
<updated>2025-09-18T22:09:49+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-09-17T15:29:48+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=bf115203bb8a61bd03ba23931ff0b5bf931b7d1b'/>
<id>bf115203bb8a61bd03ba23931ff0b5bf931b7d1b</id>
<content type='text'>
dtrace_xcall() is just a thin wrapper around smp_rendezvous_cpus().
There's no need for six identical implementations to live in MD layers.

No functional change intended.

MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
dtrace_xcall() is just a thin wrapper around smp_rendezvous_cpus().
There's no need for six identical implementations to live in MD layers.

No functional change intended.

MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: Use a size_t to represent a buffer size in the printm action</title>
<updated>2025-09-10T16:00:13+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-09-10T14:33:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3877025f52ee205fe99ad4ff68229933d57e4bcb'/>
<id>3877025f52ee205fe99ad4ff68229933d57e4bcb</id>
<content type='text'>
printm is specific to the FreeBSD dtrace port.  I believe it's
effectively the same as tracemem(), though printm apparently predates
it.  It stores the size of the buffer of traced data inline.  Currently
it represents that size using a uintptr_t, which isn't really right and
poses challenges when porting to CHERI because
`DTRACE_STORE(uintptr_t, ...`  requires the destination to be suitably
aligned, but this isn't necessary since we're just storing a size.

Convert to using a size_t.  This should be a no-op since
sizeof(uintptr_t) == sizeof(size_t) on non-CHERI platforms (and besides
that I don't see a reason to use printm() when tracemem() is available
and is simpler to use.)

Reviewed by:	Domagoj Stolfa, avg
MFC after:	2 weeks
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D52055
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
printm is specific to the FreeBSD dtrace port.  I believe it's
effectively the same as tracemem(), though printm apparently predates
it.  It stores the size of the buffer of traced data inline.  Currently
it represents that size using a uintptr_t, which isn't really right and
poses challenges when porting to CHERI because
`DTRACE_STORE(uintptr_t, ...`  requires the destination to be suitably
aligned, but this isn't necessary since we're just storing a size.

Convert to using a size_t.  This should be a no-op since
sizeof(uintptr_t) == sizeof(size_t) on non-CHERI platforms (and besides
that I don't see a reason to use printm() when tracemem() is available
and is simpler to use.)

Reviewed by:	Domagoj Stolfa, avg
MFC after:	2 weeks
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D52055
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: Add compiler barriers around updates to per-CPU flags</title>
<updated>2025-05-28T21:05:16+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-05-28T20:45:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=0440b3d2cbf83afb55209a9938b31a48912f222c'/>
<id>0440b3d2cbf83afb55209a9938b31a48912f222c</id>
<content type='text'>
Otherwise there's nothing preventing reordering of memory accesses with
respect to these flags being set or cleared.  Since their most common
use is to create a section in dtrace probe context where memory faults
are intercepted by dtrace_trap(), such reordering can turn dtrace errors
into fatal exceptions.

MFC after:	2 weeks
Sponsored by:	Innovate UK
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Otherwise there's nothing preventing reordering of memory accesses with
respect to these flags being set or cleared.  Since their most common
use is to create a section in dtrace probe context where memory faults
are intercepted by dtrace_trap(), such reordering can turn dtrace errors
into fatal exceptions.

MFC after:	2 weeks
Sponsored by:	Innovate UK
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: fix signature mismatch for taskqueue callbacks</title>
<updated>2025-02-24T14:56:29+00:00</updated>
<author>
<name>SHENGYI HONG</name>
<email>aokblast@FreeBSD.org</email>
</author>
<published>2025-02-23T17:42:41+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a1452eec4768272056aa070db94ea7184ce1117c'/>
<id>a1452eec4768272056aa070db94ea7184ce1117c</id>
<content type='text'>
Reviewed by:	markj
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D49112
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed by:	markj
MFC after:	1 week
Differential Revision: https://reviews.freebsd.org/D49112
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: Remove the noinline qualifier from dtrace_getarg()</title>
<updated>2025-01-25T17:33:43+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-25T17:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=494a2b14722e8955af54e306305f462e5765c1e4'/>
<id>494a2b14722e8955af54e306305f462e5765c1e4</id>
<content type='text'>
It serves no purpose after commit 82283cad12a4.  No functional change
intended.

Fixes:	82283cad12a4 ("dtrace: Avoid including dtrace_isa.c directly into dtrace.c")
MFC after:	2 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
It serves no purpose after commit 82283cad12a4.  No functional change
intended.

Fixes:	82283cad12a4 ("dtrace: Avoid including dtrace_isa.c directly into dtrace.c")
MFC after:	2 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: Use size_t instead of uintptr_t to represent buffer offsets</title>
<updated>2025-01-23T19:08:46+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-23T19:08:46+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=ba9cff7aa2eb62d84bead503cd606d1586ea8388'/>
<id>ba9cff7aa2eb62d84bead503cd606d1586ea8388</id>
<content type='text'>
This eases porting of DTrace to CHERI, where uintptr_t and size_t aren't
interchangeable.

No functional change intended.

Reviewed by:	Domagoj Stolfa &lt;domagoj.stolfa@gmail.com&gt;
MFC after:	2 weeks
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D48625
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This eases porting of DTrace to CHERI, where uintptr_t and size_t aren't
interchangeable.

No functional change intended.

Reviewed by:	Domagoj Stolfa &lt;domagoj.stolfa@gmail.com&gt;
MFC after:	2 weeks
Sponsored by:	Innovate UK
Differential Revision:	https://reviews.freebsd.org/D48625
</pre>
</div>
</content>
</entry>
<entry>
<title>dtrace: Fix the definition of pc_t</title>
<updated>2025-01-22T14:40:50+00:00</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2025-01-22T14:34:29+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=8ce6b4f2c48eca758fac90b58924f9b2e38fbc49'/>
<id>8ce6b4f2c48eca758fac90b58924f9b2e38fbc49</id>
<content type='text'>
This type is used only to store PC values corresponding to a thread
stack trace, so a pointer type is not quite right.  Switch to
vm_offset_t, as in struct stack, to simplify a port of DTrace to CHERI.

No functional change intended.

MFC after:	1 week
Sponsored by:	Innovate UK
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This type is used only to store PC values corresponding to a thread
stack trace, so a pointer type is not quite right.  Switch to
vm_offset_t, as in struct stack, to simplify a port of DTrace to CHERI.

No functional change intended.

MFC after:	1 week
Sponsored by:	Innovate UK
</pre>
</div>
</content>
</entry>
</feed>
