From: | Magnus Hagander <magnus(at)hagander(dot)net> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se> |
Cc: | pgsql-docs(at)lists(dot)postgresql(dot)org |
Subject: | Re: Incorrect IPC advice for OpenBSD |
Date: | 2018-05-25 12:02:46 |
Message-ID: | CABUevEwdbcTsz-icpvte7gqjoOSoHvqJShebM3__KecCsomprw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-docs |
On Wed, May 16, 2018 at 10:45 PM, Daniel Gustafsson <daniel(at)yesql(dot)se> wrote:
> The OpenBSD paragraph in the "Shared Memory and Semaphores” section seems
> to
> have been slightly incorrect since around 2002. The kern.ipc.shm_use_phys
> sysctl setting has never existed in OpenBSD (it is in NetBSD and FreeBSD)
> and
> SEMMAP is not a kernel configuration option. Further, there is no kernel
> config for locking shared memory into RAM so the whole paragraph is best
> removed it seems. I believe this is an artifact from FreeBSD and OpenBSD
> sharing a paragraph, which was split into separate ones a long time ago.
>
> The attached patch removes the above mentioned parts (confirmed with an
> OpenBSD
> developer). This should probably be backpatched to all supported versions
> as
> it’s been wrong for a long time.
>
Applied and backpatched. Thanks!
--
Magnus Hagander
Me: https://www.hagander.net/ <http://www.hagander.net/>
Work: https://www.redpill-linpro.com/ <http://www.redpill-linpro.com/>
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2018-05-26 15:03:23 | Re: json_to_record Example |
Previous Message | Anna Akenteva | 2018-05-23 15:33:43 | [DOCS] Let's document a bytea bug |