diff options
author | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2023-10-12 15:32:39 +0000 |
---|---|---|
committer | Scott Soule Cheloha <cheloha@cvs.openbsd.org> | 2023-10-12 15:32:39 +0000 |
commit | fb0c008b2c2984237d0ea8799959b1c1dcd3bbf0 (patch) | |
tree | 6f58f594e8088ff7c76cbf0aea9fabdbdf828174 /etc/etc.alpha/sysctl.conf | |
parent | f50bfdb6ce3bae6323107fc1f01b99bb2247f430 (diff) |
timeout: add TIMEOUT_MPSAFE flag
Add a TIMEOUT_MPSAFE flag to signal that a timeout is safe to run
without the kernel lock. Currently, TIMEOUT_MPSAFE requires
TIMEOUT_PROC. When the softclock() is unlocked in the future this
dependency will be removed.
On MULTIPROCESSOR kernels, softclock() now shunts TIMEOUT_MPSAFE
timeouts to a dedicated "timeout_proc_mp" bucket for processing by the
dedicated softclock_thread_mp() kthread. Unlike softclock_thread(),
softclock_thread_mp() is not pinned to any CPU and runs run at IPL_NONE.
Prompted by bluhm@. Lots of input from bluhm@. Joint work with mvs@.
Prompt: https://marc.info/?l=openbsd-tech&m=169646019109736&w=2
Thread: https://marc.info/?l=openbsd-tech&m=169652212131109&w=2
ok mvs@
Diffstat (limited to 'etc/etc.alpha/sysctl.conf')
0 files changed, 0 insertions, 0 deletions