Re: A small note on the portability of cmake - Mailing list pgsql-hackers

From Andres Freund
Subject Re: A small note on the portability of cmake
Date
Msg-id 20190120193108.wmfnujgk2kwluutv@alap3.anarazel.de
Whole thread Raw
In response to Re: A small note on the portability of cmake  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: A small note on the portability of cmake  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Hi,

On 2019-01-20 10:15:53 -0500, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > HPPA doesn't hardware instructions for atomic ops other than
> > test-and-set IIRC.
> 
> Indeed, the main reason why I'm interested in keeping this old dinosaur
> going at all is that it is so different from other platforms in terms
> of what we can assume about spinlocks and atomic ops.  Keeps us honest.

FWIW, while that clearly is the policy right now, I quite doubt that
it's beneficial. It's not like there's going to be new hardware
platforms without at least cmpxchg / ll/sc support. So I'm not seeing
what not requiring them keeps us honest about.

Greetings,

Andres Freund


pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: PostgreSQL vs SQL/XML Standards
Next
From: Tomas Vondra
Date:
Subject: Re: explain plans with information about (modified) gucs