<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/lib/libcxx/src, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcxx/src?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/lib/libcxx/src?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2019-06-17T22:28:47Z</updated>
<entry>
<title>Merge libc++, libc++abi and libunwind version 8.0.0.</title>
<updated>2019-06-17T22:28:47Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-17T22:28:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=308ed93135e1e5919c16767bd98e8835e42e613b'/>
<id>urn:sha1:308ed93135e1e5919c16767bd98e8835e42e613b</id>
<content type='text'>
Ports build by naddy@
Tested by visa on octeon
Tested by kettenis on macppc and sparc64
</content>
</entry>
<entry>
<title>Import libc++ 8.0.0.</title>
<updated>2019-06-17T22:18:29Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-06-17T22:18:29Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=504b10ec5101b237e4c07e1f2de4b6c48138181e'/>
<id>urn:sha1:504b10ec5101b237e4c07e1f2de4b6c48138181e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>that "device" is an abstraction to the underlying OS PRNG.</title>
<updated>2019-03-22T12:39:42Z</updated>
<author>
<name>espie</name>
<email>espie@openbsd.org</email>
</author>
<published>2019-03-22T12:39:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=66c1d05b38aa3cbfdce71a5a1a4ad7ab85fe4ceb'/>
<id>urn:sha1:66c1d05b38aa3cbfdce71a5a1a4ad7ab85fe4ceb</id>
<content type='text'>
In OpenBSD's case, we know it has optimal entropy properties,
so just say so.

okay mikeb@, "why not" deraadt@
</content>
</entry>
<entry>
<title>Merge libc++, libc++abi and libunwind version 7.0.1.</title>
<updated>2019-02-04T17:04:33Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-02-04T17:04:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=71d9f34297ef5b8104aac6236e8dc7c95ff5da15'/>
<id>urn:sha1:71d9f34297ef5b8104aac6236e8dc7c95ff5da15</id>
<content type='text'>
Tested by visa on octeon
Tested by kettenis on arm64, armv7 and sparc64
"go for it" deraadt and sthen
</content>
</entry>
<entry>
<title>Import libc++ 7.0.1.</title>
<updated>2019-02-04T16:55:44Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2019-02-04T16:55:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=76c648e7a477ffb2a882ad5ffe523269bd9a3f6a'/>
<id>urn:sha1:76c648e7a477ffb2a882ad5ffe523269bd9a3f6a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>instead of defining _LIBCPP_DEBUG in debug.cpp which enables some debug</title>
<updated>2018-09-11T18:31:58Z</updated>
<author>
<name>robert</name>
<email>robert@openbsd.org</email>
</author>
<published>2018-09-11T18:31:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=13317850d06b6ac5a2d670b8d0791ea05a1a42b0'/>
<id>urn:sha1:13317850d06b6ac5a2d670b8d0791ea05a1a42b0</id>
<content type='text'>
code which breaks quiet a few things, define _LIBCPP_BUILDING_LIBRARY
for the complete build to get the needed definitions in debug.cpp without
enabling debug code
</content>
</entry>
<entry>
<title>merge libc++ 6.0.0 (bump lib major); ok patrick@, kettenis@</title>
<updated>2018-09-11T18:29:53Z</updated>
<author>
<name>robert</name>
<email>robert@openbsd.org</email>
</author>
<published>2018-09-11T18:29:53Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=e933dfd56b2b1c88c8dcf4c47d7dabd4706764dd'/>
<id>urn:sha1:e933dfd56b2b1c88c8dcf4c47d7dabd4706764dd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>import of libc++ 6.0.0</title>
<updated>2018-09-11T18:18:58Z</updated>
<author>
<name>robert</name>
<email>robert@openbsd.org</email>
</author>
<published>2018-09-11T18:18:58Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=820e1f31efc1d6ed04795ba2e79f3044e1907492'/>
<id>urn:sha1:820e1f31efc1d6ed04795ba2e79f3044e1907492</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add hw.ncpuonline to count the number of online CPUs.</title>
<updated>2018-07-12T01:23:38Z</updated>
<author>
<name>cheloha</name>
<email>cheloha@openbsd.org</email>
</author>
<published>2018-07-12T01:23:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=c71ddef4e977e565d25356bbc54b3876cbf432d2'/>
<id>urn:sha1:c71ddef4e977e565d25356bbc54b3876cbf432d2</id>
<content type='text'>
The introduction of hw.smt means that logical CPUs can be disabled
after boot and prior to suspend/resume.  If hw.smt=0 (the default),
there needs to be a way to count the number of hardware threads
available on the system at any given time.

So, import HW_NCPUONLINE/hw.ncpuonline from NetBSD and document it.
hw.ncpu becomes equal to the number of CPUs given to sched_init_cpu()
during boot, while hw.ncpuonline is equal to the number of CPUs available
to the scheduler in the cpuset "sched_all_cpus". Set_SC_NPROCESSORS_ONLN
equal to this new sysctl and keep _SC_NPROCESSORS_CONF equal to hw.ncpu.

This is preferable to adding a new sysctl to count the number of
configured CPUs and keeping hw.ncpu equal to the number of online
CPUs because such a change would break software in the ecosystem
that relies on HW_NCPU/hw.ncpu to measure CPU usage and the like.
Such software in base includes top(1), systat(1), and snmpd(8),
and perhaps others.

We don't need additional locking to count the cardinality of a cpuset
in this case because the only interfaces that can modify said cardinality
are sysctl(2) and ioctl(2), both of which are under the KERNEL_LOCK.

Software using HW_NCPU/hw.ncpu to determine optimal parallism will need
to be updated to use HW_NCPUONLINE/hw.ncpuonline.  Until then, such software
may perform suboptimally.  However, most changes will be similar to the
change included here for libcxx's std::thread:hardware_concurrency():
using HW_NCPUONLINE in lieu of HW_NCPU should be sufficient for determining
optimal parallelism for most software if the change to _SC_NPROCESSORS_ONLN
is insufficient.

Prompted by deraadt. Discussed at length with kettenis, deraadt, and sthen.
Lots of patch tweaks from kettenis.

ok kettenis, "proceed" deraadt
</content>
</entry>
<entry>
<title>Import libc++ 3.9.0</title>
<updated>2016-09-03T18:39:32Z</updated>
<author>
<name>patrick</name>
<email>patrick@openbsd.org</email>
</author>
<published>2016-09-03T18:39:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=fe1ccca2776129541f1c4f645e4d1de89a22a031'/>
<id>urn:sha1:fe1ccca2776129541f1c4f645e4d1de89a22a031</id>
<content type='text'>
</content>
</entry>
</feed>
