Re: lock support for aarch64 - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: lock support for aarch64
Date
Msg-id 51910636.30007@vmware.com
Whole thread Raw
In response to Re: lock support for aarch64  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
On 13.05.2013 17:26, Merlin Moncure wrote:
> I'm starting to wonder why we don't always use gcc atomics if they are
> available and assembly implementation is not (any maybe, even if it
> is).

That was discussed a while ago, but there were a lot of claims that 
__sync_lock_test_and_set is broken on many various platforms: 
http://www.postgresql.org/message-id/flat/5642.1324482916@sss.pgh.pa.us#5642.1324482916@sss.pgh.pa.us. 
The situation might've improved since, but I guess we should proceed 
cautiously.

- Heikki



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: lock support for aarch64
Next
From: Pavel Stehule
Date:
Subject: Re: MemoryContextAllocHuge(): selectively bypassing MaxAllocSize