<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/dev/cardbus/cardslot.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/cardbus/cardslot.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/dev/cardbus/cardslot.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-02-18T12:13:39Z</updated>
<entry>
<title>Cleanup &lt;sys/kthread.h&gt; and &lt;sys/proc.h&gt; includes.</title>
<updated>2020-02-18T12:13:39Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-02-18T12:13:39Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=63cf9471a61d4f7a002fa265fd31e4f833fe840f'/>
<id>urn:sha1:63cf9471a61d4f7a002fa265fd31e4f833fe840f</id>
<content type='text'>
Do not include &lt;sys/kthread.h&gt; where it is not needed and stop including
&lt;sys/proc.h&gt; in it.

ok visa@, anton@
</content>
</entry>
<entry>
<title>all pools have their ipl set via pool_setipl, so fold it into pool_init.</title>
<updated>2016-09-15T02:00:16Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2016-09-15T02:00:16Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=1378bae268607a02c6648b2f5af62a452cd7f812'/>
<id>urn:sha1:1378bae268607a02c6648b2f5af62a452cd7f812</id>
<content type='text'>
the ioff argument to pool_init() is unused and has been for many
years, so this replaces it with an ipl argument. because the ipl
will be set on init we no longer need pool_setipl.

most of these changes have been done with coccinelle using the spatch
below. cocci sucks at formatting code though, so i fixed that by hand.

the manpage and subr_pool.c bits i did myself.

ok tedu@ jmatthew@

@ipl@
expression pp;
expression ipl;
expression s, a, o, f, m, p;
@@
-pool_init(pp, s, a, o, f, m, p);
-pool_setipl(pp, ipl);
+pool_init(pp, s, a, ipl, f, m, p);
</content>
</entry>
<entry>
<title>pool_setipl for cardbus and drm pools.</title>
<updated>2016-08-24T09:31:56Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2016-08-24T09:31:56Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=100b4108b1c0dfcceea487b73edba25419589749'/>
<id>urn:sha1:100b4108b1c0dfcceea487b73edba25419589749</id>
<content type='text'>
ok kettenis@
</content>
</entry>
<entry>
<title>Remove some includes include-what-you-use claims don't</title>
<updated>2015-03-14T03:38:46Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2015-03-14T03:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=21dab745d772244ad59a415114e48be2888cfbc8'/>
<id>urn:sha1:21dab745d772244ad59a415114e48be2888cfbc8</id>
<content type='text'>
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@
</content>
</entry>
<entry>
<title>remove the second void * argument on tasks.</title>
<updated>2015-01-27T03:17:35Z</updated>
<author>
<name>dlg</name>
<email>dlg@openbsd.org</email>
</author>
<published>2015-01-27T03:17:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e419548092f59c20a140404818050eb2ab331a19'/>
<id>urn:sha1:e419548092f59c20a140404818050eb2ab331a19</id>
<content type='text'>
when workqs were introduced, we provided a second argument so you
could pass a thing and some context to work on it in. there were
very few things that took advantage of the second argument, so when
i introduced pools i suggested removing it. since tasks were meant
to replace workqs, it was requested that we keep the second argument
to make porting from workqs to tasks easier.

now that workqs are gone, i had a look at the use of the second
argument again and found only one good use of it (vdsp(4) on sparc64
if you're interested) and a tiny handful of questionable uses. the
vast majority of tasks only used a single argument. i have since
modified all tasks that used two args to only use one, so now we
can remove the second argument.

so this is a mechanical change. all tasks only passed NULL as their
second argument, so we can just remove it.

ok krw@
</content>
</entry>
<entry>
<title>if you really must look inside the pool to decide if you've called</title>
<updated>2014-12-19T05:48:36Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-12-19T05:48:36Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f6d714b1eacb83540d2260905a351ffadbd018ac'/>
<id>urn:sha1:f6d714b1eacb83540d2260905a351ffadbd018ac</id>
<content type='text'>
pool_init already, the pr_size field is the least worst field to peek at.
</content>
</entry>
<entry>
<title>Replace workqs with tasks.</title>
<updated>2013-10-30T08:47:20Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2013-10-30T08:47:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7cadc14f4daf92ae7cd8745a4a745197af3933cb'/>
<id>urn:sha1:7cadc14f4daf92ae7cd8745a4a745197af3933cb</id>
<content type='text'>
ok dlg@
</content>
</entry>
<entry>
<title>Enforce ca_activate tree-walks over the entire heirarchy for all events,</title>
<updated>2013-05-30T16:15:01Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2013-05-30T16:15:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c06fda6d0724f63f24685adf5b3d7f3ead24829d'/>
<id>urn:sha1:c06fda6d0724f63f24685adf5b3d7f3ead24829d</id>
<content type='text'>
cleaning up some shutdown-hook related code on the way.
(A few drivers related to sparc are still skipped at kettenis' request)
ok kettenis mlarkin, tested by many others too
</content>
</entry>
<entry>
<title>Make CardBus ral(4) suspend and resume properly on machines that keep the</title>
<updated>2010-08-25T21:37:59Z</updated>
<author>
<name>kettenis</name>
<email>kettenis@openbsd.org</email>
</author>
<published>2010-08-25T21:37:59Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f1ca6dadb3ff43b3bb68f98d9a5c5ef3cd38b417'/>
<id>urn:sha1:f1ca6dadb3ff43b3bb68f98d9a5c5ef3cd38b417</id>
<content type='text'>
CardBus bridge powered up during suspend.  Step zero on the long road
towards fully suspending CardBus on all machines.

ok deraadt@, damien@
</content>
</entry>
<entry>
<title>As per NetBSD move HAYAKAWA Koichi's licenses to two clause.</title>
<updated>2010-01-13T09:10:33Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2010-01-13T09:10:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9a7547d2507b2311d09ffb51ce7f61f26b4f6bb1'/>
<id>urn:sha1:9a7547d2507b2311d09ffb51ce7f61f26b4f6bb1</id>
<content type='text'>
</content>
</entry>
</feed>
