<feed xmlns='http://www.w3.org/2005/Atom'>
<title>wireguard-openbsd/sys/kern/vfs_sync.c, branch jd/queueboosts</title>
<subtitle>WireGuard implementation for the OpenBSD kernel</subtitle>
<id>https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/vfs_sync.c?h=jd%2Fqueueboosts</id>
<link rel='self' href='https://git.zx2c4.com/wireguard-openbsd/atom/sys/kern/vfs_sync.c?h=jd%2Fqueueboosts'/>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/'/>
<updated>2020-01-20T23:21:55Z</updated>
<entry>
<title>struct vops is not modified during runtime so use const which moves each</title>
<updated>2020-01-20T23:21:55Z</updated>
<author>
<name>claudio</name>
<email>claudio@openbsd.org</email>
</author>
<published>2020-01-20T23:21:55Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=2d6b9e38f30a31b6aa3a85df5a94059bc694a80e'/>
<id>urn:sha1:2d6b9e38f30a31b6aa3a85df5a94059bc694a80e</id>
<content type='text'>
into read-only data segment.
OK deraadt@ tedu@
</content>
</entry>
<entry>
<title>Introduce wakeup_proc() a function to un-SSTOP/SSLEEP a thread.</title>
<updated>2020-01-16T16:35:03Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2020-01-16T16:35:03Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9566af8920ce0c73af22f6155f3428b247ad2cc0'/>
<id>urn:sha1:9566af8920ce0c73af22f6155f3428b247ad2cc0</id>
<content type='text'>
This moves most of the SCHED_LOCK() related to protecting the sleepqueue
and its states to kern/kern_sync.c

Name suggestion from jsg@, ok kettenis@, visa@
</content>
</entry>
<entry>
<title>Convert infinite sleeps to tsleep_nsec(9).</title>
<updated>2019-12-08T12:29:42Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2019-12-08T12:29:42Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=668db6ef2609abad9724553dbd2829df85228dc9'/>
<id>urn:sha1:668db6ef2609abad9724553dbd2829df85228dc9</id>
<content type='text'>
ok visa@, jca@
</content>
</entry>
<entry>
<title>Simplify the startup of the cleaner, reaper and update threads by</title>
<updated>2018-08-13T15:26:17Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-08-13T15:26:17Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=643e3253c9409ce2d1e776b6e6d1781ad6c413b9'/>
<id>urn:sha1:643e3253c9409ce2d1e776b6e6d1781ad6c413b9</id>
<content type='text'>
passing the main function directly to kthread_create(9). The start_*
functions are mere stepping stones nowadays and can be pruned.
They used to contain more logic in the pre-kthread era.

While here, set `cleanerproc' and `syncerproc' during the thread
creation rather than expect the threads to set the proc pointer.
Also, rename `sched_sync' to `syncer_thread' to reduce confusion
with the scheduler-related functions.

OK kettenis@, deraadt@, mpi@
</content>
</entry>
<entry>
<title>Drop unnecessary `p' parameter from vget(9).</title>
<updated>2018-05-27T06:02:14Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-05-27T06:02:14Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=08107a0b7d66fc523db27a131ca819e179fb022c'/>
<id>urn:sha1:08107a0b7d66fc523db27a131ca819e179fb022c</id>
<content type='text'>
OK mpi@
</content>
</entry>
<entry>
<title>Clean up the parameters of VOP_LOCK() and VOP_UNLOCK(). It is always</title>
<updated>2018-04-28T03:13:04Z</updated>
<author>
<name>visa</name>
<email>visa@openbsd.org</email>
</author>
<published>2018-04-28T03:13:04Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=36bb23f12acb06197346657619c449dc8e0cae8e'/>
<id>urn:sha1:36bb23f12acb06197346657619c449dc8e0cae8e</id>
<content type='text'>
curproc that does the locking or unlocking, so the proc parameter
is pointless and can be dropped.

OK mpi@, deraadt@
</content>
</entry>
<entry>
<title>Syncronize filesystems to disk when suspending.  Each mountpoint's vnodes</title>
<updated>2018-02-10T05:24:23Z</updated>
<author>
<name>deraadt</name>
<email>deraadt@openbsd.org</email>
</author>
<published>2018-02-10T05:24:23Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=976e983900b26f1c1815971efe0ad0990654d735'/>
<id>urn:sha1:976e983900b26f1c1815971efe0ad0990654d735</id>
<content type='text'>
are pushed to disk.  Dangling vnodes (unlinked files still in use) and
vnodes undergoing change by long-running syscalls are identified -- and
such filesystems are marked dirty on-disk while we are suspended (in case
power is lost, a fsck will be required).  Filesystems without dangling or
busy vnodes are marked clean, resulting in faster boots following
"battery died" circumstances.
Tested by numerous developers, thanks for the feedback.
</content>
</entry>
<entry>
<title>Convert most of the manual checks for CPU hogging to sched_pause().</title>
<updated>2017-02-14T10:31:15Z</updated>
<author>
<name>mpi</name>
<email>mpi@openbsd.org</email>
</author>
<published>2017-02-14T10:31:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=9b1ed563285ff6714aac11bdd1309d0fca487c3e'/>
<id>urn:sha1:9b1ed563285ff6714aac11bdd1309d0fca487c3e</id>
<content type='text'>
The distinction between preempt() and yield() stays as it is usueful
to know if a thread decided to yield by itself or if the kernel told
him to go away.

ok tedu@, guenther@
</content>
</entry>
<entry>
<title>Remove the unused flags argument from VOP_UNLOCK().</title>
<updated>2016-03-19T12:04:15Z</updated>
<author>
<name>natano</name>
<email>natano@openbsd.org</email>
</author>
<published>2016-03-19T12:04:15Z</published>
<link rel='alternate' type='text/html' href='https://git.zx2c4.com/wireguard-openbsd/commit/?id=937fcae7c622e0ae47c1757467b994983f2677fb'/>
<id>urn:sha1:937fcae7c622e0ae47c1757467b994983f2677fb</id>
<content type='text'>
torture tested on amd64, i386 and macppc
ok beck mpi stefan
"the change looks right" deraadt
</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>
</feed>
