Page MenuHomeFreeBSD

sysv_sem: semusz depends on semume.
ClosedPublic

Authored by kib on Oct 17 2020, 9:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 9, 6:26 PM
Unknown Object (File)
Sat, May 9, 5:35 PM
Unknown Object (File)
Sat, May 9, 10:03 AM
Unknown Object (File)
Fri, May 8, 8:16 PM
Unknown Object (File)
Wed, May 6, 12:30 AM
Unknown Object (File)
Thu, Apr 30, 7:01 PM
Unknown Object (File)
Mon, Apr 27, 11:17 PM
Unknown Object (File)
Apr 16 2026, 1:23 AM
Subscribers

Details

Summary

Size of the per-process semaphore undo structure (semusz) depends on the number of the per-process undos. If kern.ipc.semume is adjusted, semusz must be adjusted as well, and it makes no sense to delegate adjustment to user. Make it automatic.

PR: 250361

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kib requested review of this revision.Oct 17 2020, 9:07 AM
markj added inline comments.
sys/kern/sysv_sem.c
196 ↗(On Diff #78342)

Missing parens around ix.

This revision is now accepted and ready to land.Oct 21 2020, 1:17 PM
This revision now requires review to proceed.Oct 21 2020, 1:34 PM
This revision is now accepted and ready to land.Oct 21 2020, 1:37 PM
This revision was automatically updated to reflect the committed changes.