tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: increasing sysv semaphore limits
Jason Thorpe <thorpej%me.com@localhost> writes:
>> On Jul 16, 2026, at 9:09 AM, Greg Troxel <gdt%lexort.com@localhost> wrote:
>>>
>>> Are these allocated even if they’re not used? If so, I would object to such a change.
>>
>> Martin did the math and we're talking another 3760 bytes of memory over
>> the status quo -- which was judged ok with 1993 RAM sizes.
>
> What’s the problem with allocating them as they’re used? If I never use System V IPC, why should I have to burn a page of RAM on them?
To really do it, merely completely rewriting the existing code. To
partially, perhaps just calling the existing realloc.
For now, I'll let the people who proposed dynamic do that, and just let
pgsql bump up the values when needed at start (which is exactly
allocating what's known to be about to be used, and won't bother people
that don't run pgsql servers).
Home |
Main Index |
Thread Index |
Old Index