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)
Tue, Dec 17, 11:31 AM
Unknown Object (File)
Oct 20 2024, 8:21 AM
Unknown Object (File)
Oct 10 2024, 6:40 AM
Unknown Object (File)
Sep 19 2024, 3:55 AM
Unknown Object (File)
Sep 17 2024, 6:32 PM
Unknown Object (File)
Sep 8 2024, 2:50 PM
Unknown Object (File)
Sep 5 2024, 7:11 PM
Unknown Object (File)
Aug 25 2024, 4:29 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.