Re: increasing sysv semaphore limits
Jason Thorpe <[email protected]> Thu, 16 Jul 2026 09:43:29 -0700
| Newsgroups | gmane.os.netbsd.devel.kernel |
|---|---|
| Message-ID | <[email protected]> |
--Apple-Mail=_BCCE6340-A797-47E6-9AA5-A1DB8CC56849 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Jul 16, 2026, at 9:09=E2=80=AFAM, Greg Troxel <[email protected]> = wrote: >>=20 >> Are these allocated even if they=E2=80=99re not used? If so, I would = object to such a change. >=20 > 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=E2=80=99s the problem with allocating them as they=E2=80=99re 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 =E2=80=9Cwell, it=E2=80=99s only a page=E2=80=9D attitude = across N different things, pretty soon you=E2=80=99re talking about real = money. -- thorpej --Apple-Mail=_BCCE6340-A797-47E6-9AA5-A1DB8CC56849 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html aria-label=3D"message body"><head><meta http-equiv=3D"content-type" = content=3D"text/html; charset=3Dutf-8"></head><body = style=3D"overflow-wrap: break-word; -webkit-nbsp-mode: space; = line-break: after-white-space;"><br><div><blockquote type=3D"cite"><div>On= Jul 16, 2026, at 9:09=E2=80=AFAM, Greg Troxel <[email protected]> = wrote:</div><div><div><blockquote type=3D"cite"><br>Are these allocated = even if they=E2=80=99re not used? If so, I would object to such a = change.<br></blockquote><br>Martin did the math and we're talking = another 3760 bytes of memory over<br>the status quo -- which was judged = ok with 1993 RAM = sizes.<br></div></div></blockquote><div><br></div><div>What=E2=80=99s = the problem with allocating them as they=E2=80=99re used? If I = never use System V IPC, why should I have to burn a page of RAM on = them?</div><br><blockquote type=3D"cite"><div><div>Do you object for all = ports, or just smallish ones? Even amd64 = and<br>aarch64?<br></div></div></blockquote></div><div><br></div><div>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 =E2=80=9Cwell, it=E2=80=99s only a page=E2=80=9D attitude = across N different things, pretty soon you=E2=80=99re talking about real = money.</div><br><div> <span class=3D"Apple-style-span" style=3D"border-collapse: separate; = color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; = font-style: normal; font-variant: normal; font-weight: normal; = letter-spacing: normal; line-height: normal; orphans: 2; text-align: = auto; text-indent: 0px; text-transform: none; white-space: normal; = widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; = -webkit-border-vertical-spacing: 0px; = -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: = auto; -webkit-text-stroke-width: 0px; "><div style=3D"word-wrap: = break-word; -webkit-nbsp-mode: space; -webkit-line-break: = after-white-space; ">-- thorpej</div></span> </div> <br></body></html>= --Apple-Mail=_BCCE6340-A797-47E6-9AA5-A1DB8CC56849--