Re: Atomic ops for unlogged LSN

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Stephen Frost <sfrost(at)snowman(dot)net>, John Morris <john(dot)morris(at)crunchydata(dot)com>, Bharath Rupireddy <bharath(dot)rupireddyforpostgres(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Atomic ops for unlogged LSN
Date: 2024-02-29 16:34:12
Message-ID: 20240229163412.GA2909010@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

Here is a new version of the patch that uses the new atomic read/write
functions with full barriers that were added in commit bd5132d. Thoughts?

Nathan Bossart
Amazon Web Services:

Attachment Content-Type Size
v6-0001-Convert-unloggedLSN-to-an-atomic-variable.patch text/x-diff 3.2 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Kukushkin 2024-02-29 16:36:29 Re: Infinite loop in XLogPageRead() on standby
Previous Message Nathan Bossart 2024-02-29 16:24:57 Re: locked reads for atomics