<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/kern_kthread.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/kern_kthread.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/kern_kthread.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-02-21T11:10:23Z</updated>
<entry>
<title>Remove sigacts structure sharing. The only process that used sharing was</title>
<updated>2020-02-21T11:10:23Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2020-02-21T11:10:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3d8a8d532cd2996776888e27d02fec8a36c38021'/>
<id>urn:sha1:3d8a8d532cd2996776888e27d02fec8a36c38021</id>
<content type='text'>
proc0 which is used for kthreads and idle threads. proc0 and all those
other kernel threads don't handle signals so there is no benefit in sharing.
Simplifies the code a fair bit since the refcnt is gone.
OK kettenis@
</content>
</entry>
<entry>
<title>Replace p_xstat with ps_xexit and ps_xsig</title>
<updated>2019-12-11T07:30:09Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2019-12-11T07:30:09Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=381e34d2ea89fee5668fcdf23ae079bf0d0c5f37'/>
<id>urn:sha1:381e34d2ea89fee5668fcdf23ae079bf0d0c5f37</id>
<content type='text'>
Convert those to a consolidated status when needed in wait4(), kevent(),
	and sysctl()
Pass exit code and signal separately to exit1()
(This also serves as prep for adding waitid(2))

ok mpi@
</content>
</entry>
<entry>
<title>Grab the KERNEL_LOCK() in kthread_create(9) to enable unlocked code</title>
<updated>2018-07-05T14:42:30Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-07-05T14:42:30Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=0fd5329e7ff3e902bc4a7d9b29554ad2fd4a3b0d'/>
<id>urn:sha1:0fd5329e7ff3e902bc4a7d9b29554ad2fd4a3b0d</id>
<content type='text'>
paths create kernel threads. This will be utilized by sosplice()
for the taskq allocation.

OK mpi@
</content>
</entry>
<entry>
<title>Split up fork1():</title>
<updated>2017-02-12T04:55:08Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-02-12T04:55:08Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=79a514fcbea783e80e5f8763d0f8d6ad9a05557f'/>
<id>urn:sha1:79a514fcbea783e80e5f8763d0f8d6ad9a05557f</id>
<content type='text'>
 - FORK_THREAD handling is a totally separate function, thread_fork(),
   that is only used by sys___tfork() and which loses the flags, func,
   arg, and newprocp parameters and gains tcb parameter to guarantee
   the new thread's TCB is set before the creating thread returns
 - fork1() loses its stack and tidptr parameters
Common bits factor out:
 - struct proc allocation and initialization moves to thread_new()
 - maxthread handling moves to fork_check_maxthread()
 - setting the new thread running moves to fork_thread_start()
The MD cpu_fork() function swaps its unused stacksize parameter for
a tcb parameter.

luna88k testing by aoyama@, alpha testing by dlg@
ok mpi@
</content>
</entry>
<entry>
<title>p_comm is the process's command and isn't per thread, so move it from</title>
<updated>2017-01-21T05:42:03Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2017-01-21T05:42:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=8fda72b7e051ba1f5fd77ca4e41c7870ed36e4b6'/>
<id>urn:sha1:8fda72b7e051ba1f5fd77ca4e41c7870ed36e4b6</id>
<content type='text'>
struct proc to struct process.

ok deraadt@ kettenis@
</content>
</entry>
<entry>
<title>Split PID from TID, giving processes a PID unrelated to the TID of their</title>
<updated>2016-11-07T00:26:32Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2016-11-07T00:26:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=3b7181b7c198203c21e16e10714f0dfd4fb2302e'/>
<id>urn:sha1:3b7181b7c198203c21e16e10714f0dfd4fb2302e</id>
<content type='text'>
initial thread

ok jsing@ kettenis@
</content>
</entry>
<entry>
<title>Remove some includes include-what-you-use claims don't</title>
<updated>2015-03-14T03:38:46Z</updated>
<author>
<name>jsg</name>
<email>jsg@openbsd.org</email>
</author>
<published>2015-03-14T03:38:46Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=21dab745d772244ad59a415114e48be2888cfbc8'/>
<id>urn:sha1:21dab745d772244ad59a415114e48be2888cfbc8</id>
<content type='text'>
have any direct symbols used.  Tested for indirect use by compiling
amd64/i386/sparc64 kernels.

ok tedu@ deraadt@
</content>
</entry>
<entry>
<title>pass size argument to free()</title>
<updated>2014-11-03T03:08:00Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2014-11-03T03:08:00Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=5ff140d246573b102762c244776a1297acc30fd9'/>
<id>urn:sha1:5ff140d246573b102762c244776a1297acc30fd9</id>
<content type='text'>
ok doug tedu
</content>
</entry>
<entry>
<title>add a size argument to free. will be used soon, but for now default to 0.</title>
<updated>2014-07-12T18:43:32Z</updated>
<author>
<name>tedu</name>
<email>tedu@openbsd.org</email>
</author>
<published>2014-07-12T18:43:32Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9e8577e7fffeab9111fc01d9e1c7ca42905be86a'/>
<id>urn:sha1:9e8577e7fffeab9111fc01d9e1c7ca42905be86a</id>
<content type='text'>
after discussions with beck deraadt kettenis.
</content>
</entry>
<entry>
<title>Add PS_SYSTEM, the process-level mirror of the thread-level P_SYSTEM,</title>
<updated>2014-05-04T05:03:26Z</updated>
<author>
<name>guenther</name>
<email>guenther@openbsd.org</email>
</author>
<published>2014-05-04T05:03:26Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=ed557a3682b90c9d79cd694303ca27156c5408c7'/>
<id>urn:sha1:ed557a3682b90c9d79cd694303ca27156c5408c7</id>
<content type='text'>
and FORK_SYSTEM as a flag to set them.  This eliminates needing to
peek into other processes threads in various places.  Inspired by NetBSD

ok miod@ matthew@
</content>
</entry>
</feed>
