<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/kern_malloc.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/kern_malloc.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/kern_malloc.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-12-19T17:40:10Z</updated>
<entry>
<title>Convert infinite sleeps to {m,t}sleep_nsec(9).</title>
<updated>2019-12-19T17:40:10Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-12-19T17:40:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=babb761de1ba2d43bc3717c713c02b0d14e11db2'/>
<id>urn:sha1:babb761de1ba2d43bc3717c713c02b0d14e11db2</id>
<content type='text'>
ok visa@
</content>
</entry>
<entry>
<title>Delete km_mapblocks from kmemstats and its always-zero column from the ddb</title>
<updated>2019-11-28T16:23:11Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-11-28T16:23:11Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=610978bc30c2dcf800971595e08295bf97ab31eb'/>
<id>urn:sha1:610978bc30c2dcf800971595e08295bf97ab31eb</id>
<content type='text'>
"show malloc" output

ok deraadt@ mpi@
</content>
</entry>
<entry>
<title>rework the zero warning slightly, and more completely disable until we're</title>
<updated>2019-05-15T21:25:50Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-05-15T21:25:50Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=d3ca61021b64d604115fd4a68460452e144a6e49'/>
<id>urn:sha1:d3ca61021b64d604115fd4a68460452e144a6e49</id>
<content type='text'>
more ready to deal with the noise.
</content>
</entry>
<entry>
<title>disable stack printing for now since at least arm64 can't print them</title>
<updated>2019-05-09T14:09:01Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-05-09T14:09:01Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2dec572bb30d2fc161a9c59556e190f326155186'/>
<id>urn:sha1:2dec572bb30d2fc161a9c59556e190f326155186</id>
<content type='text'>
reported by kettenis
</content>
</entry>
<entry>
<title>print a few warnings when calling free with a zero size.</title>
<updated>2019-05-08T23:53:26Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2019-05-08T23:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5cb550263ac27de67bb0c7ef9d929ae7e71afa30'/>
<id>urn:sha1:5cb550263ac27de67bb0c7ef9d929ae7e71afa30</id>
<content type='text'>
let's see what falls out.
ok beck deraadt kettenis mpi
</content>
</entry>
<entry>
<title>In free(9) call wakeup() after mtx_leave() consistently.</title>
<updated>2018-07-10T10:17:42Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-07-10T10:17:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4120fcf020f61857e7a04e965b4dc1885dbe3a8b'/>
<id>urn:sha1:4120fcf020f61857e7a04e965b4dc1885dbe3a8b</id>
<content type='text'>
OK kettenis@ visa@ mpi@
</content>
</entry>
<entry>
<title>Fix trailing whitespaces and too long line.</title>
<updated>2018-07-09T20:02:18Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-07-09T20:02:18Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5c57e1c5403c620af61b54abb974671d8db93646'/>
<id>urn:sha1:5c57e1c5403c620af61b54abb974671d8db93646</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Make free(9) MP safe.  It was wrong to set ku_indx to 0 after freeing</title>
<updated>2018-07-09T08:46:30Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-07-09T08:46:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=21c85adc82cf6f023de093b050b8ab587ea321a9'/>
<id>urn:sha1:21c85adc82cf6f023de093b050b8ab587ea321a9</id>
<content type='text'>
the memory in uvm.  Another process could use the false 0 then.  To
be on the safe side, protect all access to ku_indx and ku_pagecnt
with a mutex.  Update ku_indx and ku_pagecnt before calling
uvm_km_free().  Update ksp after uvm_km_free() to keep accounting
correct.
tested by sthen@; OK mpi@ visa@ deraadt@
</content>
</entry>
<entry>
<title>While booting it does not make sense to wait for memory, there is</title>
<updated>2018-01-18T18:08:51Z</updated>
<author>
<name>bluhm</name>
<email>bluhm@openbsd.org</email>
</author>
<published>2018-01-18T18:08:51Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a97ba27b3153adcbfb3d800439a2e57d1435f534'/>
<id>urn:sha1:a97ba27b3153adcbfb3d800439a2e57d1435f534</id>
<content type='text'>
no other process which could free it.  Better panic in malloc(9)
or pool_get(9) instead of sleeping forever.
tested by visa@ patrick@ Jan Klemkow
suggested by kettenis@;  OK deraadt@
</content>
</entry>
<entry>
<title>Fix an off-by-one in the free(9) "passed size was too small" check:</title>
<updated>2018-01-02T06:07:21Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-01-02T06:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=29e477084e4cf41df33525bd7f1c7464ee47f717'/>
<id>urn:sha1:29e477084e4cf41df33525bd7f1c7464ee47f717</id>
<content type='text'>
if the size passed is exactly half the size of the bucket that the
allocation was actually from, then it was incorrect.

problem noted by florian@
ok florian@ visa@
</content>
</entry>
</feed>
