tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: increasing sysv semaphore limits




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?

Do you object for all ports, or just smallish ones?   Even amd64 and
aarch64?

In general, I think we should be caring more about how much memory something costs and weighing it against the benefit provided.  If you apply this “well, it’s only a page” attitude across N different things, pretty soon you’re talking about real money.

-- thorpej



Home | Main Index | Thread Index | Old Index