<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/dma_alloc.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/dma_alloc.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/dma_alloc.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2016-09-15T02:00:16Z</updated>
<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>decouple struct uvmexp into a new file, so that uvm_extern.h and sysctl.h</title>
<updated>2014-07-08T17:19:21Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-07-08T17:19:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e6c6495d62998a12dd778aed8d40dc250167a61c'/>
<id>urn:sha1:e6c6495d62998a12dd778aed8d40dc250167a61c</id>
<content type='text'>
don't need to be married.
ok guenther miod beck jsing kettenis
</content>
</entry>
<entry>
<title>Fix a few format string bugs with -DDEBUG</title>
<updated>2014-06-15T11:43:24Z</updated>
<author>
<name>sf</name>
<email>sf@openbsd.org</email>
</author>
<published>2014-06-15T11:43:24Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2f436acaf52cf41aa7ea1ab156cc11d974d48456'/>
<id>urn:sha1:2f436acaf52cf41aa7ea1ab156cc11d974d48456</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reduce uvm include madness.  Use &lt;uvm/uvm_extern.h&gt; instead of</title>
<updated>2014-03-28T17:57:11Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2014-03-28T17:57:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4bb7a4f6856b608b8ac93cd0e986e999e4099eb2'/>
<id>urn:sha1:4bb7a4f6856b608b8ac93cd0e986e999e4099eb2</id>
<content type='text'>
&lt;uvm/uvm.h&gt; if possible and remove double inclusions.

ok beck@, mlarkin@, deraadt@
</content>
</entry>
<entry>
<title>Make mbufs and dma_alloc be contig allocations.</title>
<updated>2011-06-23T21:42:05Z</updated>
<author>
<name>ariane</name>
<email>ariane@openbsd.org</email>
</author>
<published>2011-06-23T21:42:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=12e839c5337c8830513b777b2ba30239ca0e50ed'/>
<id>urn:sha1:12e839c5337c8830513b777b2ba30239ca0e50ed</id>
<content type='text'>
Requested by dlg@

ok oga@
</content>
</entry>
<entry>
<title>Put back the change of pool and malloc into the new km_alloc(9) api.</title>
<updated>2011-04-18T19:23:46Z</updated>
<author>
<name>art</name>
<email>art@openbsd.org</email>
</author>
<published>2011-04-18T19:23:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=803ae8aa7cc217809c873326a414a7034410d2f5'/>
<id>urn:sha1:803ae8aa7cc217809c873326a414a7034410d2f5</id>
<content type='text'>
The problems during the hackathon were not caused by this (most likely).

prodded by deraadt@ and beck@
</content>
</entry>
<entry>
<title>Backout the uvm_km_getpage -&gt; km_alloc conversion. Weird things are happening</title>
<updated>2011-04-06T15:52:13Z</updated>
<author>
<name>art</name>
<email>art@openbsd.org</email>
</author>
<published>2011-04-06T15:52:13Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=68b2d19490bcee347b8b18c25df7c7fd916152d6'/>
<id>urn:sha1:68b2d19490bcee347b8b18c25df7c7fd916152d6</id>
<content type='text'>
and we aren't sure what's causing them.

shouted oks by many before I even built a kernel with the diff.
</content>
</entry>
<entry>
<title> - Change pool constraints to use kmem_pa_mode instead of uvm_constraint_range</title>
<updated>2011-04-05T01:28:05Z</updated>
<author>
<name>art</name>
<email>art@openbsd.org</email>
</author>
<published>2011-04-05T01:28:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=b6e36a9d45d5fcb08f0fa9f4b30504cb2075ca11'/>
<id>urn:sha1:b6e36a9d45d5fcb08f0fa9f4b30504cb2075ca11</id>
<content type='text'>
 - Use km_alloc for all backend allocations in pools.
 - Use km_alloc for the emergmency kentry allocations in uvm_mapent_alloc
 - Garbage collect uvm_km_getpage, uvm_km_getpage_pla and uvm_km_putpage

ariane@ ok
</content>
</entry>
<entry>
<title>The dma pools need to be IPL_VM</title>
<updated>2011-04-02T17:06:21Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2011-04-02T17:06:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=155888c5a7a2f622ffa2d1eb50a58553cea3e62c'/>
<id>urn:sha1:155888c5a7a2f622ffa2d1eb50a58553cea3e62c</id>
<content type='text'>
ok dlg
</content>
</entry>
<entry>
<title>make more dma pools -- all the way up to 64K.  at least the scsi</title>
<updated>2011-03-17T20:54:17Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2011-03-17T20:54:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8eb068263ac757d2f0489518ed67e5d7f0175056'/>
<id>urn:sha1:8eb068263ac757d2f0489518ed67e5d7f0175056</id>
<content type='text'>
SCIOCCOMMAND wants a dma'able object that big.  should we handle
this another way, by handling that data in a buf?
ok krw
</content>
</entry>
</feed>
