<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/share, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/share?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/share?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-06-22T21:16:07Z</updated>
<entry>
<title>timecounting: add gettime(9), getuptime(9)</title>
<updated>2020-06-22T21:16:07Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2020-06-22T21:16:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8dca5d44636110d0ff0cfe71785c8f18da7ca99e'/>
<id>urn:sha1:8dca5d44636110d0ff0cfe71785c8f18da7ca99e</id>
<content type='text'>
time_second and time_uptime are used widely in the tree.  This is a
problem on 32-bit platforms because time_t is 64-bit, so there is a
potential split-read whenever they are used at or below IPL_CLOCK.

Here are two replacement interfaces: gettime(9) and getuptime(9).
The "get" prefix signifies that they do not read the hardware
timecounter, i.e. they are fast and low-res.  The lack of a unit
(e.g. micro, nano) signifies that they yield a plain time_t.

As an optimization on LP64 platforms we can just return time_second or
time_uptime, as a single read is atomic.  On 32-bit platforms we need
to do the lockless read loop and get the values from the timecounter.

In a subsequent diff these will be substituted for time_second and
time_uptime almost everywhere in the kernel.

With input from visa@ and dlg@.

ok kettenis@
</content>
</entry>
<entry>
<title>provide missing Aq; this one started my search for missing Aq, then i failed</title>
<updated>2020-06-21T15:26:39Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-06-21T15:26:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3c002c406f860118ea0f93e0ac735f6e4a5a3a2b'/>
<id>urn:sha1:3c002c406f860118ea0f93e0ac735f6e4a5a3a2b</id>
<content type='text'>
to commit it...
</content>
</entry>
<entry>
<title>new sentence, new line;</title>
<updated>2020-06-21T15:25:30Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-06-21T15:25:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b38c59c9bd22e6102655cc962c3b90b297ca2018'/>
<id>urn:sha1:b38c59c9bd22e6102655cc962c3b90b297ca2018</id>
<content type='text'>
</content>
</entry>
<entry>
<title>various minor tweaks;</title>
<updated>2020-06-21T15:23:59Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-06-21T15:23:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ade9e6ce83b64399de12612825a443c2f9ab419b'/>
<id>urn:sha1:ade9e6ce83b64399de12612825a443c2f9ab419b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add a manpage for wg(4).</title>
<updated>2020-06-21T12:25:47Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-06-21T12:25:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=28057f2d0d00f0a3ef161f2bfa475468c79b6a3b'/>
<id>urn:sha1:28057f2d0d00f0a3ef161f2bfa475468c79b6a3b</id>
<content type='text'>
the mandoc linter is upset about "An Jason A. Donenfeld", but i'm
hoping ingo or jmc will fix it for me :)

From Matt Dunwoodie

ok deraadt@
</content>
</entry>
<entry>
<title>wireguard is taking over the gif mbuf tag.</title>
<updated>2020-06-21T11:44:12Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-06-21T11:44:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=87c66d4c756ebd51dd0ade264773d56d0702e2cc'/>
<id>urn:sha1:87c66d4c756ebd51dd0ade264773d56d0702e2cc</id>
<content type='text'>
gif used its mbuf tag to store it's interface index so it could
detect loops. gre also did this, and i cut most of the drivers
(including gif) over to using the gre tag. so the gif tag is unused.

wireguard uses the tag to store peer information between different
contexts the packet is processed in. it also needs a bit more space
to do that.

from Matt Dunwoodie and Jason A. Donenfeld

ok deraadt@
</content>
</entry>
<entry>
<title>document mq_push()</title>
<updated>2020-06-21T05:43:48Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-06-21T05:43:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5d717772933521b3c73d9006c79a1fff6f30cb9f'/>
<id>urn:sha1:5d717772933521b3c73d9006c79a1fff6f30cb9f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>supply the Aq (angle brackets) part missing in:</title>
<updated>2020-06-20T21:16:14Z</updated>
<author>
<name>jmc</name>
<email>jmc@openbsd.org</email>
</author>
<published>2020-06-20T21:16:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d918c33ea4b77a9dc42bb4617d9ec931897f6a99'/>
<id>urn:sha1:d918c33ea4b77a9dc42bb4617d9ec931897f6a99</id>
<content type='text'>
	.An author Aq Mt address
</content>
</entry>
<entry>
<title>bcmtmon(4)</title>
<updated>2020-06-20T18:19:26Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2020-06-20T18:19:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9a712520a6626833b9db48e67161bb8fbdd10687'/>
<id>urn:sha1:9a712520a6626833b9db48e67161bb8fbdd10687</id>
<content type='text'>
</content>
</entry>
<entry>
<title>stoeplitz_to_key takes a void * now.</title>
<updated>2020-06-19T08:50:59Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2020-06-19T08:50:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7c2acd1668fcb3499d1325b92990e508b2798fad'/>
<id>urn:sha1:7c2acd1668fcb3499d1325b92990e508b2798fad</id>
<content type='text'>
</content>
</entry>
</feed>
