Re: optimize atomic exchanges - Mailing list pgsql-hackers

From Andres Freund
Subject Re: optimize atomic exchanges
Date
Msg-id 20231215125627.pk4olja2basu5kjh@alap3.anarazel.de
Whole thread Raw
In response to Re: optimize atomic exchanges  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: optimize atomic exchanges
List pgsql-hackers
Hi,

On 2023-12-04 15:08:57 -0600, Nathan Bossart wrote:
> On Mon, Dec 04, 2023 at 12:18:05PM -0600, Nathan Bossart wrote:
> > Barring objections or additional feedback, I think I'm inclined to press
> > forward with this one and commit it in the next week or two.  I'm currently
> > planning to keep the inline assembly, but I'm considering removing the
> > configuration checks for __atomic_exchange_n() if the availability of
> > __atomic_compare_exchange_n() seems like a reliable indicator of its
> > presence.  Thoughts?

I don't think we need the inline asm. Otherwise looks good.

Greetings,

Andres Freund



pgsql-hackers by date:

Previous
From: Nisha Moond
Date:
Subject: Re: Synchronizing slots from primary to standby
Next
From: Laurenz Albe
Date:
Subject: Re: [PATCH] Add --syntax to postgres for SQL syntax checking