<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/alpha/dev/shared_intr.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha/dev/shared_intr.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/alpha/dev/shared_intr.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2015-09-02T14:07:41Z</updated>
<entry>
<title>sizes for free()</title>
<updated>2015-09-02T14:07:41Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2015-09-02T14:07:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fdb343009bdcf51b4ce9b144c6435b4dac0d402c'/>
<id>urn:sha1:fdb343009bdcf51b4ce9b144c6435b4dac0d402c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move acquisition of the kernel lock deeper in the interrupt path, and make</title>
<updated>2015-05-19T20:28:14Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2015-05-19T20:28:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ebfa05375088d510da702ab7f48d794fb544562f'/>
<id>urn:sha1:ebfa05375088d510da702ab7f48d794fb544562f</id>
<content type='text'>
sure clock interrupts do not attempt to acquire it.
This will also eventually allow for IPL_MPSAFE interrupts on alpha.

Tested by dlg@ and I.
</content>
</entry>
<entry>
<title>Replace some malloc(n*size,...) calls with mallocarray().</title>
<updated>2014-12-09T06:58:28Z</updated>
<author>
<name>doug</name>
<email>doug@openbsd.org</email>
</author>
<published>2014-12-09T06:58:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5714159a8ce4224ba1272c14d2303d9f9e962179'/>
<id>urn:sha1:5714159a8ce4224ba1272c14d2303d9f9e962179</id>
<content type='text'>
ok tedu@ deraadt@
</content>
</entry>
<entry>
<title>add a size argument to free. will be used soon, but for now default to 0.</title>
<updated>2014-07-12T18:44:40Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-07-12T18:44:40Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f8e6c4256e251ce0386dacd7e411f1d0894ef80e'/>
<id>urn:sha1:f8e6c4256e251ce0386dacd7e411f1d0894ef80e</id>
<content type='text'>
after discussions with beck deraadt kettenis.
</content>
</entry>
<entry>
<title>More than a decade ago, interrupt handlers on sparc started returning 0</title>
<updated>2011-04-15T20:40:03Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2011-04-15T20:40:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=323a282b167e48fa7781fa54f895cb1e1e7b1191'/>
<id>urn:sha1:323a282b167e48fa7781fa54f895cb1e1e7b1191</id>
<content type='text'>
(interrupt was not for me), 1 (positive interrupt was for me), or -1
(i am not sure...).  We have continued with this practice in as many
drivers as possible, throughout the tree.

This makes some of the architectures use that information in their
interrupt handler calling code -- if 1 is returned (and we know
this specific machine does not have edge-shared interrupts), we
finish servicing other possible handlers on the same pin.  If the
interrupt pin remains asserted (from a different device), we will
end up back in the interrupt servicing code of course... but this is
cheaper than calling all the chained interrupts on a pin.

This does of course count on shared level interrupts being properly
sorted by IPL.

There have been some concerns about starvation of drivers which
incorrectly return 1.  Those drivers should be hunted down so that
they return -1.

(other architectures will follow)

ok kettenis drahn dlg miod
</content>
</entry>
<entry>
<title>Get rid of evcount's support for arranging counters in a tree</title>
<updated>2010-09-20T06:33:46Z</updated>
<author>
<name>matthew</name>
<email>matthew@openbsd.org</email>
</author>
<published>2010-09-20T06:33:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4667bebbb63d1a17d5f01b2cbe4d386208702e10'/>
<id>urn:sha1:4667bebbb63d1a17d5f01b2cbe4d386208702e10</id>
<content type='text'>
hierarchy.  Everything attached to a single root node anyway, so at
best we had a bush.

"i think it is good" deraadt@
</content>
</entry>
<entry>
<title>Remove unused last argument of alpha_shared_intr_disestablish().</title>
<updated>2009-09-30T20:16:22Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2009-09-30T20:16:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=962a9e5422d5ad0c2b451c058e4ba4dbbff89845'/>
<id>urn:sha1:962a9e5422d5ad0c2b451c058e4ba4dbbff89845</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rework the interrupt code, shaving some cycles off in the process.</title>
<updated>2006-06-15T20:08:29Z</updated>
<author>
<name>brad</name>
<email>brad@openbsd.org</email>
</author>
<published>2006-06-15T20:08:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c62181b11cb87b8bc9827b5000bf73416171cb3f'/>
<id>urn:sha1:c62181b11cb87b8bc9827b5000bf73416171cb3f</id>
<content type='text'>
Rather than an "iointr" routine that decomposes a vector into an
IRQ, we maintain a vector table directly, hooking up each "iointr"
routine at the correct vector. This also allows us to hook device
interrupts up to specific vectors.

From thorpej NetBSD

Tested by myself and a number of end-users.
</content>
</entry>
<entry>
<title>Add a alpha_shared_intr_reset_strays() function that resets the stray</title>
<updated>2006-01-29T10:47:35Z</updated>
<author>
<name>martin</name>
<email>martin@openbsd.org</email>
</author>
<published>2006-01-29T10:47:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=17a294c74c811105a8ba91b1904c00cee05ca64e'/>
<id>urn:sha1:17a294c74c811105a8ba91b1904c00cee05ca64e</id>
<content type='text'>
interrupt counter for a given shared interrupt descriptor.
When an interrupt is successfully handled, reset the strays counter,
thus preventing a "slow leak" from eventually shutting off the interrupt
vector.

from NetBSD via KUDO Takashi
</content>
</entry>
<entry>
<title>Use list and queue macros where applicable to make the code easier to read;</title>
<updated>2004-12-25T23:02:21Z</updated>
<author>
<name>miod</name>
<email>miod@openbsd.org</email>
</author>
<published>2004-12-25T23:02:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5cf5f4a3979fccea390e66955458358208fbdaa8'/>
<id>urn:sha1:5cf5f4a3979fccea390e66955458358208fbdaa8</id>
<content type='text'>
no functional change.
</content>
</entry>
</feed>
