Re: [PATCH] Add loongarch64 native spin lock. - Mailing list pgsql-hackers

From Tom Lane
Subject Re: [PATCH] Add loongarch64 native spin lock.
Date
Msg-id 3098498.1684327050@sss.pgh.pa.us
Whole thread Raw
In response to [PATCH] Add loongarch64 native spin lock.  (YANG Xudong <yangxudong@ymatrix.cn>)
Responses Re: [PATCH] Add loongarch64 native spin lock.
List pgsql-hackers
YANG Xudong <yangxudong@ymatrix.cn> writes:
> This patch set tries to add loongarch64 native spin lock to postgresql.

This came up before, and our response was

https://git.postgresql.org/gitweb/?p=postgresql.git&a=commitdiff&h=1c72d82c2

In principle, at least, there is no longer any need for
machine-specific s_lock.h additions.  Is there a strong reason
why the __sync_lock_test_and_set solution isn't good enough?

            regards, tom lane



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Possible regression setting GUCs on \connect
Next
From: Robert Haas
Date:
Subject: Re: Introduce WAIT_EVENT_EXTENSION and WAIT_EVENT_BUFFER_PIN