<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/powerpc/include/mutex.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc/include/mutex.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/powerpc/include/mutex.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-01-25T15:06:29Z</updated>
<entry>
<title>Move common mutex implementations to a MI place.</title>
<updated>2018-01-25T15:06:29Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2018-01-25T15:06:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=710c2d98ef6b48aed52cf1712826535b248055bf'/>
<id>urn:sha1:710c2d98ef6b48aed52cf1712826535b248055bf</id>
<content type='text'>
Archs not yet converted can to the jump by defining __USE_MI_MUTEX.

ok visa@
</content>
</entry>
<entry>
<title>Define and use IPL_MPFLOOR in our common mutex implementation.</title>
<updated>2018-01-13T15:18:11Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2018-01-13T15:18:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4965d1a4536ae31f44fece9aedf52ba3da2c14fb'/>
<id>urn:sha1:4965d1a4536ae31f44fece9aedf52ba3da2c14fb</id>
<content type='text'>
ok kettenis@, visa@
</content>
</entry>
<entry>
<title>Unify &lt;machine/mutex.h&gt; a bit further.</title>
<updated>2018-01-12T09:19:32Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2018-01-12T09:19:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ee04a0b4c7b4d80bfec00ccaa22436570edc25dd'/>
<id>urn:sha1:ee04a0b4c7b4d80bfec00ccaa22436570edc25dd</id>
<content type='text'>
`mtx_owner' becomes the first field of 'struct mutex' on i386/amd64/arm64.

ok visa@
</content>
</entry>
<entry>
<title>Hook up mutex(9) to witness(4).</title>
<updated>2017-04-20T13:57:29Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2017-04-20T13:57:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c4925651028d655edda3c8b85b8d1b4a0cda6fb9'/>
<id>urn:sha1:c4925651028d655edda3c8b85b8d1b4a0cda6fb9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>replace the asm mutexes with a c implementation.</title>
<updated>2015-08-14T06:14:19Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2015-08-14T06:14:19Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=992d1078c7384dbbd82e210f5056b595446802c9'/>
<id>urn:sha1:992d1078c7384dbbd82e210f5056b595446802c9</id>
<content type='text'>
there's no real functional advantage to this, except that it will
make it easier to add deadlock detection to the code.

this is modelled on the c mutex implementation thats on alpha,
mips64, and hppa.

ok mpi@ kettenis@
</content>
</entry>
<entry>
<title>It's been a quarter century: we can assume volatile is present with that name.</title>
<updated>2014-03-29T18:09:28Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-03-29T18:09:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2df76cc2a0aee2cb2166e3799b7bb5c3f883f83d'/>
<id>urn:sha1:2df76cc2a0aee2cb2166e3799b7bb5c3f883f83d</id>
<content type='text'>
ok dlg@ mpi@ deraadt@
</content>
</entry>
<entry>
<title>To prevent lock ordering problems with the kernel lock, we need to make sure</title>
<updated>2014-01-22T11:01:15Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2014-01-22T11:01:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=213d08dcab0c59fe6fffa5ebcaf84507f952adfc'/>
<id>urn:sha1:213d08dcab0c59fe6fffa5ebcaf84507f952adfc</id>
<content type='text'>
we block all interrupts that can grab the kernel lock.  The simplest way to
achieve this is to make sure mutexes always raise the ipl to the highest
level that has interrupts that grab the kernel lock.  This will allow us
to have "mpsafe" interrupt handlers at lower priority levels.

No change for non-MULTIPROCESSOR kernels.

tested by mpi@, landry@
ok mpi@, dlg@
</content>
</entry>
<entry>
<title>Define MUTEX_OLDIPL where they were missing, will be used (reasonably) shortly.</title>
<updated>2007-05-05T12:06:17Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2007-05-05T12:06:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9f1a1266e22a19a997a9966e76275c7e161bdaff'/>
<id>urn:sha1:9f1a1266e22a19a997a9966e76275c7e161bdaff</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move powerpc to __HAVE_MUTEX.  With help from drahn@.  Tested by nick@, xsa@,</title>
<updated>2007-03-22T19:26:27Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2007-03-22T19:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=77e61ec49ce86bb62e563e0956275a7da2e836ed'/>
<id>urn:sha1:77e61ec49ce86bb62e563e0956275a7da2e836ed</id>
<content type='text'>
deraadt@.

"reads right" deraadt@
</content>
</entry>
</feed>
