public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: Thomas Munro <[email protected]>
Cc: Alexander Lakhin <[email protected]>
Cc: pgsql-hackers <[email protected]>
Subject: Re: Regression tests fail on OpenBSD due to low semmns value
Date: Mon, 16 Dec 2024 23:29:01 -0500
Message-ID: <[email protected]> (raw)
In-Reply-To: <CA+hUKGKumYUweDKnF5S1Y_jKxMa94w_q8=j8-xDdhOgxcaVCiQ@mail.gmail.com>
References: <[email protected]>
<CA+hUKGKumYUweDKnF5S1Y_jKxMa94w_q8=j8-xDdhOgxcaVCiQ@mail.gmail.com>
Thomas Munro <[email protected]> writes:
> Whenever I run into this, or my Mac requires manual ipcrm to clean up
> leaked SysV kernel junk, I rebase my patch for sema_kind = 'futex'.
> Here it goes. It could be updated to support NetBSD I believe, but I
> didn't try as its futex stuff came out later.
FWIW, I looked at a nearby NetBSD 10.0 machine. It has
/usr/include/sys/futex.h, which includes this enticing comment:
/*
* Definitions for the __futex(2) synchronization primitive.
*
* These definitions are intended to be ABI-compatible with the
* Linux futex(2) system call.
*/
However, the complete lack of any user-level documentation makes
me misdoubt the extent of their commitment to this :-(
I have the same concern about depending on undocumented macOS
APIs. Other than that, getting off of SysV semaphores would be
a nice thing to do.
regards, tom lane
view thread (4+ messages)
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: Regression tests fail on OpenBSD due to low semmns value
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox