1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/share
cheloha e97dbaaa05 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@
2023-10-12 15:32:38 +00:00
..
btrace Add example user profile btrace script. 2023-05-12 14:34:00 +00:00
dict
locale Regen en_US.UTF-8.src for Unicode 14.0.0 2023-02-16 01:07:01 +00:00
man timeout: add TIMEOUT_MPSAFE flag 2023-10-12 15:32:38 +00:00
misc add LJG 2023-08-07 08:22:52 +00:00
mk Make REGRESS_LOG more useful again 2023-09-24 08:28:20 +00:00
snmp Fix several "bytes" in DESCRIPTION to their clearly intended "packets". 2022-10-25 09:54:24 +00:00
tabset
termtypes spelling fix; from paul tagliamonte 2022-12-26 19:34:12 +00:00
tmac
zoneinfo Apply changes from tzdata2023c. 2023-03-28 23:07:46 +00:00
Makefile Install useful btrace scripts into /usr/share/btrace directory. 2022-05-01 20:23:11 +00:00
Makefile.inc