diff options
author | 2014-10-03 18:06:46 +0000 | |
---|---|---|
committer | 2014-10-03 18:06:46 +0000 | |
commit | ef440d082d19b8982f069e03e4b224578a151385 (patch) | |
tree | 139a9aef402a510bc2c3c18a9c0bd2a139633a50 /usr.sbin/syslogd/syslogd.h | |
parent | Introduce __MAP_NOFAULT, a mmap(2) flag that makes sure a mapping will not (diff) | |
download | wireguard-openbsd-ef440d082d19b8982f069e03e4b224578a151385.tar.xz wireguard-openbsd-ef440d082d19b8982f069e03e4b224578a151385.zip |
Introduce a thread for zeroing pages without holding the kernel lock. This
way we can do some useful kernel lock in parallel with other things and create
a reservoir of zeroed pages ready for use elsewhere. This should reduce
latency. The thread runs at the absolutel lowest priority such that we don't
keep other kernel threads or userland from doing useful work.
Can be easily disabled by disabling the kthread_create(9) call in main().
Which perhaps we should do for non-MP kernels.
ok deraadt@, tedu@
Diffstat (limited to 'usr.sbin/syslogd/syslogd.h')
0 files changed, 0 insertions, 0 deletions