<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/midi.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/midi.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/midi.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-04-07T13:27:50Z</updated>
<entry>
<title>Abstract the head of knote lists. This allows extending the lists,</title>
<updated>2020-04-07T13:27:50Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-04-07T13:27:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9c969c9ab4dbfc69101f439c13329bb852e9fe18'/>
<id>urn:sha1:9c969c9ab4dbfc69101f439c13329bb852e9fe18</id>
<content type='text'>
for example, with locking assertions.

OK mpi@, anton@
</content>
</entry>
<entry>
<title>Replace field f_isfd with field f_flags in struct filterops to allow</title>
<updated>2020-02-20T16:56:51Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2020-02-20T16:56:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b821368957f060d7b1e9eeaa4fbc563e892edb32'/>
<id>urn:sha1:b821368957f060d7b1e9eeaa4fbc563e892edb32</id>
<content type='text'>
adding more filter properties without cluttering the struct.

OK mpi@, anton@
</content>
</entry>
<entry>
<title>Use C99 designated initializers with struct filterops. In addition,</title>
<updated>2019-12-31T13:48:31Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2019-12-31T13:48:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=94321eb495589ab239b0671b5b64153695549a6a'/>
<id>urn:sha1:94321eb495589ab239b0671b5b64153695549a6a</id>
<content type='text'>
make the structs const so that the data are put in .rodata.

OK mpi@, deraadt@, anton@, bluhm@
</content>
</entry>
<entry>
<title>midi(4): *sleep(9) -&gt; *sleep_nsec(9)</title>
<updated>2019-12-22T19:11:45Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2019-12-22T19:11:45Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a3a673009a1f31eac7a6366ab3469739c1e30d6d'/>
<id>urn:sha1:a3a673009a1f31eac7a6366ab3469739c1e30d6d</id>
<content type='text'>
These are straightforward except for the tsleep(9) conversion.  ratchov@
had a bit to say about that code:

https://marc.info/?l=openbsd-tech&amp;m=157665936017373&amp;w=2

&gt; The problem is that close(2) may reset the transmitter before the few
&gt; bytes of its internal buffer is sent on the wire; there's no "wait for
&gt; completion" feature in such simple hardware, so we just wait few
&gt; milliseconds.
&gt;
&gt; The transmitter buffer size is around 16 bytes, the byte rate is 3125
&gt; bytes/second.  So if we wait at least 16B / 3125B/s = 5.12ms, we're
&gt; safe. Waiting 10ms-20ms is enough and is unnoticeable.

Hence, in this diff we wait a flat 20ms in that situation.

ok ratchov@
</content>
</entry>
<entry>
<title>Remove SIGIO support.  The audio(4) driver doesn't implement it either and</title>
<updated>2017-07-19T22:23:54Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2017-07-19T22:23:54Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c0cd44e386352705ed58ce576051b5db09c2d495'/>
<id>urn:sha1:c0cd44e386352705ed58ce576051b5db09c2d495</id>
<content type='text'>
the preferred method to access MIDI hardware is through sndiod(8) which
doesn't use it.

Fixes a potential issue with a stale struct proc pointer found by Ilja van
Sprundel.

ok deraadt@, ratchov@
</content>
</entry>
<entry>
<title>No need to include sys/malloc.h. From Michael W. Bombardieri. Thanks.</title>
<updated>2017-01-03T06:39:44Z</updated>
<author>
<name>ratchov</name>
<email>ratchov@openbsd.org</email>
</author>
<published>2017-01-03T06:39:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=65dfe6998d1bb952b3a35738f7df438045e71f5c'/>
<id>urn:sha1:65dfe6998d1bb952b3a35738f7df438045e71f5c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>In midiread() and midiwrite(), add a second goto label to</title>
<updated>2016-12-20T16:03:39Z</updated>
<author>
<name>ratchov</name>
<email>ratchov@openbsd.org</email>
</author>
<published>2016-12-20T16:03:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6c232e8c569afbb85ff2525bdf00ba7b5ec8bd2'/>
<id>urn:sha1:e6c232e8c569afbb85ff2525bdf00ba7b5ec8bd2</id>
<content type='text'>
factor calls to mtx_leave() before returning. From Michael
W. Bombardieri &lt;mb at ii.net&gt;. Thanks!
</content>
</entry>
<entry>
<title>Don't use an uninitialised softc pointer in midiread/midiwrite.</title>
<updated>2015-05-22T12:52:00Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2015-05-22T12:52:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f14e0e786850404c04f1d9fe21e576f27db95a47'/>
<id>urn:sha1:f14e0e786850404c04f1d9fe21e576f27db95a47</id>
<content type='text'>
ok ratchov@
</content>
</entry>
<entry>
<title>Use device_lookup() instead of digging into midi_cd.cd_devs[] and</title>
<updated>2015-05-16T09:56:10Z</updated>
<author>
<name>ratchov</name>
<email>ratchov@openbsd.org</email>
</author>
<published>2015-05-16T09:56:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d0b9e3b5a0b177e4043bc1d0513335aa84dc2107'/>
<id>urn:sha1:d0b9e3b5a0b177e4043bc1d0513335aa84dc2107</id>
<content type='text'>
maintaining a "dying" flag which is already present in the device
structure. As a side-effect, this adds the missing refcounting
that mididetach() was missing. With from mpi@ and dlg@

ok mpi
</content>
</entry>
<entry>
<title>remove the sc-&gt;isopen flag, as sc-&gt;flags already hold the</title>
<updated>2015-05-12T18:39:30Z</updated>
<author>
<name>ratchov</name>
<email>ratchov@openbsd.org</email>
</author>
<published>2015-05-12T18:39:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c8d03e3ab40c78998909f362d425655e2588b41d'/>
<id>urn:sha1:c8d03e3ab40c78998909f362d425655e2588b41d</id>
<content type='text'>
same information.
</content>
</entry>
</feed>
