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)
Fri, Feb 27, 8:43 PM
Unknown Object (File)
Fri, Feb 27, 8:55 AM
Unknown Object (File)
Fri, Feb 27, 6:53 AM
Unknown Object (File)
Sun, Feb 22, 8:12 PM
Unknown Object (File)
Sun, Feb 15, 11:31 PM
Unknown Object (File)
Jan 25 2026, 5:27 AM
Unknown Object (File)
Jan 22 2026, 3:12 AM
Unknown Object (File)
Jan 20 2026, 2:08 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.