<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/usr.bin/make/buf.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/usr.bin/make/buf.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/usr.bin/make/buf.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-01-13T13:54:44Z</updated>
<entry>
<title>introduce a "Buf_Reinit" function for handling static buffers that can</title>
<updated>2020-01-13T13:54:44Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2020-01-13T13:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=583c2e1d7aaae0921f760ba2a92823863e9bbf39'/>
<id>urn:sha1:583c2e1d7aaae0921f760ba2a92823863e9bbf39</id>
<content type='text'>
be reused throughout running make.   Instead of recreating buffers of
dubious appropriate size, have one single buffer for various stages of
parsing.
</content>
</entry>
<entry>
<title>tweak buffer handling a bit:</title>
<updated>2019-12-21T15:26:47Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2019-12-21T15:26:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=7a167ac6e6df0732e4a58c841fac68d30ce6f307'/>
<id>urn:sha1:7a167ac6e6df0732e4a58c841fac68d30ce6f307</id>
<content type='text'>
- make BufExpand a real function, zap BufOverflow
- sprinkle assert that justify the arithmetic
- use unsigned constants
- fix a bug in the unlikely condition where Buf_printf would exactly
match the buffer boundary and Buf_Retrieve would be called right after

okay millert@
</content>
</entry>
<entry>
<title>Add missing #include &lt;stdint.h&gt; for SIZE_MAX</title>
<updated>2015-04-29T00:42:12Z</updated>
<author>
<name>millert</name>
<email>millert@openbsd.org</email>
</author>
<published>2015-04-29T00:42:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=14e4c4f434ccc5abd1d194d4416ab10381093ed2'/>
<id>urn:sha1:14e4c4f434ccc5abd1d194d4416ab10381093ed2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>add check for overflow while doubling (very unlikely in practice, but still</title>
<updated>2015-04-25T15:33:47Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2015-04-25T15:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0f2017b9a5fc3429d67d638b7b9b58ce646524f7'/>
<id>urn:sha1:0f2017b9a5fc3429d67d638b7b9b58ce646524f7</id>
<content type='text'>
better style code). Problem noticed by deraadt@ in m4.

okay doug@ deraadt@
</content>
</entry>
<entry>
<title>say goodbye to killing trailing spaces.</title>
<updated>2012-11-07T14:18:41Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2012-11-07T14:18:41Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b06ba05b9bf7c7475ee344dc5803b069c5fbc9e'/>
<id>urn:sha1:9b06ba05b9bf7c7475ee344dc5803b069c5fbc9e</id>
<content type='text'>
this was yet another weirdness in our make that isn't shared by
other makes, and that isn't part of any standard.
This means end-of-line spaces in variables ARE significant (spaces
around the equal sign still aren't).

okay sthen@, "sounds fine" deraadt@
</content>
</entry>
<entry>
<title>major overhaul of the way make handle jobs, inspired by dpb:</title>
<updated>2012-09-21T07:55:20Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2012-09-21T07:55:20Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=a6b963c87274c1e621c41f7b2a144ca0c6461d0b'/>
<id>urn:sha1:a6b963c87274c1e621c41f7b2a144ca0c6461d0b</id>
<content type='text'>
instead of forking a "job" per target, and having that job further fork
separate commands, have make maintain a list of jobs, indexed by pid
of currently running commands, and handle process termination
continuation-style.  This has lots of benefits:
- make is responsible for most printing, so we no longer need pipes nor
job control: make -j jobs see the tty.
- no more special-casing for jobs that don't really execute anything.
- unify code for make -jn and make -B, including signal handlers and
job waiting.  So make -n, make -q, +cmd now run commands in the same
way in all cases.
- unified more accurate error-reporting, as make knows precisely which
command failed. Commands are tagged with their lines, and we display failing
commands in silent mode.
- fine-grained "expensive" command handling (recursion limiter). Do it
per-command instead of per-target.

Moreover, signal response is now simpler, as we just block the signals
in a small critical sections, test for events, and sigpause (thanks a lot
to guenther@ and millert@), so running make is now almost always paused
without any busy-waiting.

Thanks to everyone who tested and gave input.
</content>
</entry>
<entry>
<title>Correct $OpenBSD$ stuff</title>
<updated>2010-07-19T19:46:43Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2010-07-19T19:46:43Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=bb4544df9ace63bacb4f113c781faab96bfc1dec'/>
<id>urn:sha1:bb4544df9ace63bacb4f113c781faab96bfc1dec</id>
<content type='text'>
</content>
</entry>
<entry>
<title>two small changes:</title>
<updated>2010-07-19T19:30:37Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2010-07-19T19:30:37Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dba68890dc2f821a2767fe1773a14cfff3b41f2a'/>
<id>urn:sha1:dba68890dc2f821a2767fe1773a14cfff3b41f2a</id>
<content type='text'>
- allow variables in SysV modifiers, as requested by matthieu@
(since recursive variables are an extension, this just extends the
extension)
- variation on :Q  called :QL (quote list), which does quote every character
EXCEPT for whitespace. e.g.,

toto:
	@for i in ${VAR:QL} ...
</content>
</entry>
<entry>
<title>reindent (no binary change)</title>
<updated>2007-07-24T21:09:07Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2007-07-24T21:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=dac15098a862b4d940f37f099c78dddd7cd32334'/>
<id>urn:sha1:dac15098a862b4d940f37f099c78dddd7cd32334</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ISO function declarations, trim a few comments, rename a few variables to</title>
<updated>2004-04-07T13:11:35Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2004-04-07T13:11:35Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ad2b054bebd0334fa80f540ca557dcc7d348b908'/>
<id>urn:sha1:ad2b054bebd0334fa80f540ca557dcc7d348b908</id>
<content type='text'>
more explicit/more consistent names.

okay otto@
</content>
</entry>
</feed>
