<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/arch/amd64/include/sysarch.h, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64/include/sysarch.h?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/arch/amd64/include/sysarch.h?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2018-01-07T18:54:44Z</updated>
<entry>
<title>amd64_{get,set}_fsbase() are superfluous and unused; delete them.</title>
<updated>2018-01-07T18:54:44Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2018-01-07T18:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=52522202a7beb6f9795b0e95b9510e2c365f6b76'/>
<id>urn:sha1:52522202a7beb6f9795b0e95b9510e2c365f6b76</id>
<content type='text'>
Delete unused/never-implemented sysarch defines and structs while here.

ports check and ok naddy@
ok deraadt@ mlarkin@
</content>
</entry>
<entry>
<title>remove never used get/set ioperm sysarch functions. ok guenther</title>
<updated>2013-05-05T19:25:57Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2013-05-05T19:25:57Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e0b6515fcd68bbf6520d6003238a25ae46ed210'/>
<id>urn:sha1:9e0b6515fcd68bbf6520d6003238a25ae46ed210</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove excessive sys/cdefs.h inclusion</title>
<updated>2012-12-05T23:19:48Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2012-12-05T23:19:48Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=4a39ccd02c887d988c1a5398dd2142879056da5f'/>
<id>urn:sha1:4a39ccd02c887d988c1a5398dd2142879056da5f</id>
<content type='text'>
ok guenther millert kettenis
</content>
</entry>
<entry>
<title>Add __BEGIN_DECLS so that programs using C++ can use functions</title>
<updated>2012-10-10T11:23:47Z</updated>
<author>
<name>sthen</name>
<email>sthen@openbsd.org</email>
</author>
<published>2012-10-10T11:23:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=07db63b93c444481b55f01c982806fb280941240'/>
<id>urn:sha1:07db63b93c444481b55f01c982806fb280941240</id>
<content type='text'>
defined in sysarch.h again, they were broken following the change
to NO_IMPLICIT_EXTERN_C.  help/ok kettenis@
</content>
</entry>
<entry>
<title>Unrevert the FS.base diff: the issues were actually elsewhere</title>
<updated>2011-04-13T02:49:12Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2011-04-13T02:49:12Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=f1665d79221ea67c1b7fd1b33e8f9165151faaaa'/>
<id>urn:sha1:f1665d79221ea67c1b7fd1b33e8f9165151faaaa</id>
<content type='text'>
Additional testing by jasper@ and pea@
</content>
</entry>
<entry>
<title>Revert bulk of the FS.base diff, as it causes issues on some machines</title>
<updated>2011-04-10T03:56:38Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2011-04-10T03:56:38Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=727ed795888fbb6064c3feb84bf592233479836a'/>
<id>urn:sha1:727ed795888fbb6064c3feb84bf592233479836a</id>
<content type='text'>
and the problem isn't obvious yet.
</content>
</entry>
<entry>
<title>Add support for per-rthread base-offset for the %fs selector on amd64.</title>
<updated>2011-04-05T21:14:00Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2011-04-05T21:14:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2b690be946f8ca8d171b1f34582f3678883d6db3'/>
<id>urn:sha1:2b690be946f8ca8d171b1f34582f3678883d6db3</id>
<content type='text'>
Add pcb_fsbase to the PCB for tracking what the value for the thread
is, and ci_cur_fsbase to struct cpu_info for tracking the CPU's current
value for FS.base, then on return to user-space, skip the setting if the
CPU has the right value already.  Non-threaded processes without TLS leave
FS.base zero, which can be conveniently optimized: setting %fs zeros
FS.base for fewer cycles than wrmsr.

ok kettenis@
</content>
</entry>
<entry>
<title>Normalize sentinel. Use _MACHINE_*_H_ and _&lt;ARCH&gt;_*_H_ properly and consitently.</title>
<updated>2011-03-23T16:54:33Z</updated>
<author>
<name>pirofti</name>
<email>pirofti@openbsd.org</email>
</author>
<published>2011-03-23T16:54:33Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2fa72412907ae78c4787a4a8f888c5f0486e225c'/>
<id>urn:sha1:2fa72412907ae78c4787a4a8f888c5f0486e225c</id>
<content type='text'>
Discussed and okay drahn@. Okay deraadt@.
</content>
</entry>
<entry>
<title>Old-style MTRRs were never used on amd64, so remove the remaining traces</title>
<updated>2011-03-18T03:10:47Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2011-03-18T03:10:47Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0118571e2532f99a6e935bf0729c4ccbaa9d6190'/>
<id>urn:sha1:0118571e2532f99a6e935bf0729c4ccbaa9d6190</id>
<content type='text'>
of them, as well as some other unused proc md_flags bits: MDP_COMPAT and
MDP_SYSCALL.

ok mikeb@
</content>
</entry>
<entry>
<title>The LDT is only used by dead compat code now, so load the ldt</title>
<updated>2010-10-26T05:49:10Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2010-10-26T05:49:10Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=45cb136957d4f6260f393361a83c573e4c1e00bd'/>
<id>urn:sha1:45cb136957d4f6260f393361a83c573e4c1e00bd</id>
<content type='text'>
register with the null selector (disabling use of it), stop reloading
it on every context switch, and blow away the table itself, as well
as the pcb and pmap bits that were used to track it.  Also, delete
two other unused pcb members: pcb_usersp and pcb_flags.  (Deleting
pcb_usersp also keeps the pcb_savefpu member aligned properly.)
Finally, delete the defines for the unimplemented AMD64_{GET,SET}_LDT
sysarch() calls.

Tested by various with both AMD and Intel chips
ok mikeb@
</content>
</entry>
</feed>
