Re: optimize atomic exchanges - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: optimize atomic exchanges
Date
Msg-id 20231204210857.GA2203877@nathanxps13
Whole thread Raw
In response to Re: optimize atomic exchanges  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: optimize atomic exchanges
List pgsql-hackers
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?

Concretely, like this.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Kirill Reshke
Date:
Subject: Re: Extensible storage manager API - SMGR hook Redux
Next
From: Matthias van de Meent
Date:
Subject: Re: Extensible storage manager API - SMGR hook Redux