CVS: cvs.openbsd.org: src

Christian Ludwig <[email protected]>
Newsgroups gmane.os.openbsd.cvs
Message-ID <[email protected]>
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@
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.