Re: Remove last traces of HPPA support

From: Thomas Munro <thomas(dot)munro(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Noah Misch <noah(at)leadboat(dot)com>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Remove last traces of HPPA support
Date: 2024-07-31 22:09:07
Message-ID: CA+hUKGLJTO1uS4Oy5DQKiBSXLm+nOtEPym2D6a2-izpGjbHcZw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, Aug 1, 2024 at 7:07 AM Andres Freund <andres(at)anarazel(dot)de> wrote:
> Note that I would like to add a user for S_LOCK_FREE(), to detect repeated
> SpinLockRelease():
> https://postgr.es/m/20240729182952.hua325647e2ggbsy%40awork3.anarazel.de

What about adding a "magic" member in assertion builds? Here is my
attempt at that, in 0002.

I also realised that we might as well skip the trivial S_XXX macros
and delete s_lock.h. In this version of 0001 we retain just spin.h,
but s_lock.c still exists to hold the slow path.

Attachment Content-Type Size
v2-0001-Use-atomics-API-to-implement-spinlocks.patch text/x-patch 40.8 KB
v2-0002-Add-some-assertions-to-spinlocks.patch text/x-patch 3.0 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jeff Davis 2024-07-31 22:26:34 Re: Support LIKE with nondeterministic collations
Previous Message Pavel Stehule 2024-07-31 22:05:54 Re: proposal: schema variables