> On Jul 16, 2026, at 8:05 AM, Jörg Sonnenberger <[email protected]> wrote: > > On 7/16/26 12:23 AM, Jason Thorpe wrote: >>> On Jul 15, 2026, at 2:58 PM, Mouse <[email protected]> wrote: >>> >>> Except doesn't that open you up to a DoS attack, running the kernel out >>> of memory by creating a zillion semaphores? >> I mean, it’s really the same thing as with file descriptors. > > Yes and no. SYSV semaphores are persistent and independent of both file > descriptors and processes. So even killing processes is not going to return > the memory used by them.
While true, I mean it’s more akin to having dynamically-tunable maximums / limits. -- thorpej
