CVSROOT: /cvs Module name: src Changes by: [email protected] 2026/07/13 09:17:47
Modified files:
sys/kern : sysv_sem.c
Log message:
sysv_sema: Use better sleep addresses
the sema array itself is used to derive wait channels. It may be re-
allocated when resized. The old array gets lost and so do the wait
channels. Thus waiters will never be woken up again. The sema array
holds pointers. Use those as wait channels instead, the backing objects
live long enough.
ok mvs@
