<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libevent/kqueue.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libevent/kqueue.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libevent/kqueue.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-05-08T17:33:22Z</updated>
<entry>
<title>Fixed integer overflow with an excessively large amount of events.</title>
<updated>2019-05-08T17:33:22Z</updated>
<author>
<name>tobias</name>
<email>tobias@openbsd.org</email>
</author>
<published>2019-05-08T17:33:22Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a3e9870f3ab7a683c9fa46f0c7e5dd4813cf9dc0'/>
<id>urn:sha1:a3e9870f3ab7a683c9fa46f0c7e5dd4813cf9dc0</id>
<content type='text'>
While at it: KNF and switch from reallocarray to recallocarray.

ok tedu
</content>
</entry>
<entry>
<title>if there are no changes for kevent, pass in NULL instead.</title>
<updated>2017-07-10T21:37:26Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2017-07-10T21:37:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=becf7fcb10bb435f02f492cc9c66df88840042f7'/>
<id>urn:sha1:becf7fcb10bb435f02f492cc9c66df88840042f7</id>
<content type='text'>
this has no effect except to make ktrace output prettier.
ok bluhm mpi
</content>
</entry>
<entry>
<title>Remove NULL pointer checks before calls to free().</title>
<updated>2016-09-03T11:31:17Z</updated>
<author>
<name>nayden</name>
<email>nayden@openbsd.org</email>
</author>
<published>2016-09-03T11:31:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8698d772fa8e7a9c21b357c7c0f44e0b4c3e93ec'/>
<id>urn:sha1:8698d772fa8e7a9c21b357c7c0f44e0b4c3e93ec</id>
<content type='text'>
OK bluhm@ nicm@
</content>
</entry>
<entry>
<title>revert change to call kevent immediately.</title>
<updated>2015-12-25T17:10:05Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-12-25T17:10:05Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5512004ab45663bf118eaca9459f69b3a5189de7'/>
<id>urn:sha1:5512004ab45663bf118eaca9459f69b3a5189de7</id>
<content type='text'>
tcpbench (at a minimum) relies on the old behavior of changes all happening
after all event handlers run. in particular, it resets the event for the
listening socket *before* calling accept(), when it is still readable.
kevent then (correctly) says it is readable on the next go through the loop.
silly, subtle, and stupid.
problem reported by kettenis
</content>
</entry>
<entry>
<title>change the kqueue backend to call kevent() as events are added instead</title>
<updated>2015-12-16T20:12:31Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2015-12-16T20:12:31Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=59ffb413ab23dc7a00216cb4825ee966d436a543'/>
<id>urn:sha1:59ffb413ab23dc7a00216cb4825ee966d436a543</id>
<content type='text'>
of deferring until the dispatch loop. kqueue support for various types
of files and filesystems has been historically incomplete, and kevent
handles this condition by returning an error. the libevent dispatch
loop has no way to recover from this error and fails catastrophically,
bringing down the entire process because one file went bad.
now, instead of all that happending, event_add will return an error. the
application can choose to handle or ignore this error, but at least the
band will play on.
ok nicm
</content>
</entry>
<entry>
<title>Fix whitespace errors in libevent.</title>
<updated>2014-10-30T16:45:37Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-30T16:45:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=824b820d4681cb871673244f671f855c64a3db5f'/>
<id>urn:sha1:824b820d4681cb871673244f671f855c64a3db5f</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>After removing all the #ifdef, the wrappers in evutil are rather</title>
<updated>2014-10-29T22:47:29Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-29T22:47:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=84ea67e3e3c0f239bd94fd21b75b8140c2dd446b'/>
<id>urn:sha1:84ea67e3e3c0f239bd94fd21b75b8140c2dd446b</id>
<content type='text'>
useless.  Let libevent call the libc functions directly.
OK nicm@
</content>
</entry>
<entry>
<title>Remove workaround for Mac OS X kqueue bug.</title>
<updated>2014-10-29T22:38:42Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-29T22:38:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e7c53765d3917c1c998f62e073d86d860d1e120b'/>
<id>urn:sha1:e7c53765d3917c1c998f62e073d86d860d1e120b</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>Remove some #ifdef from libevent.</title>
<updated>2014-10-18T21:56:44Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-18T21:56:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=37fbd8dfb5cf1486c8318998b0f7facda94557da'/>
<id>urn:sha1:37fbd8dfb5cf1486c8318998b0f7facda94557da</id>
<content type='text'>
OK nicm@
</content>
</entry>
<entry>
<title>Remove the remaining #ifdef HAVE_ and the #define _GNU_SOURCE.</title>
<updated>2014-10-18T16:48:28Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2014-10-18T16:48:28Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=44e30b10372d07959035c45ba62dee4130f51c99'/>
<id>urn:sha1:44e30b10372d07959035c45ba62dee4130f51c99</id>
<content type='text'>
OK nicm@
</content>
</entry>
</feed>
