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, Oct 10, 12:15 AM
Unknown Object (File)
Aug 24 2025, 2:08 PM
Unknown Object (File)
Aug 14 2025, 9:07 PM
Unknown Object (File)
Aug 9 2025, 6:53 AM
Unknown Object (File)
Aug 8 2025, 11:24 AM
Unknown Object (File)
Aug 3 2025, 12:20 AM
Unknown Object (File)
Aug 2 2025, 10:13 PM
Unknown Object (File)
Jul 29 2025, 7:48 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.