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)
Wed, May 8, 1:32 PM
Unknown Object (File)
Feb 23 2024, 7:02 PM
Unknown Object (File)
Jan 11 2024, 10:56 PM
Unknown Object (File)
Dec 20 2023, 3:26 AM
Unknown Object (File)
Nov 11 2023, 2:13 PM
Unknown Object (File)
Nov 11 2023, 12:34 AM
Unknown Object (File)
Oct 10 2023, 1:11 PM
Unknown Object (File)
Oct 9 2023, 11:31 PM
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.